Skip to content

diarmidmackenzie/christmas-scene

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

christmas-scene

For Christmas 2021, I'm building a Winter Wonderland in VR.

My plan is to add something new every day, for each day of advent 2021. It might be a new object in the scene, some improvement to something I already added, or some other new functionality.

You can experience the Winter Wonderland yourself here:

https://diarmidmackenzie.github.io/christmas-scene/

Best experienced on the Oculus Quest 2, but may work on other VR headsets as well, and it can also be viewed (but with limited functionality) on any browser.

Development Log

If you'd like to see more detail, you can take a look through this thread on twitter, where I posted videos daily through out the project. https://twitter.com/dhmackenzie/status/1466763356421996545?s=20

Here's the features I have added day by day.

3 December

(starting 2 days late, so I added 3 things today!)

  • Basic winter environment
  • Made it snow!
  • Added basic snowman with eyes, mouth, nose, hat and arms.

4 December

  • Grab and reposition snowman's face & arms.

5 December

  • Retain objects' rotation & velocity on release - allows throwing of objects, juggling etc.

6 December

  • Added Christmas tree with multi-colour baubles, which show reflections of the environment.

7 December

  • Replaced the snowman's broomstick arms with more organic-looking sticks. Also gave him a new hat, which can be moved about.

8 December

  • Added a xylophone made of icicles. This can be played with your hands, or using one of the snowman's arms as a atick.

9 December

  • Added a calendar and Christmas countdown.

10 December

  • Added a star on top of the Christmas Tree

11 December

  • Updated physics - hat is now hollow, and you can put objects inside it
  • Added a giant marble run

12 December

  • Snowballs! Pick them up from anywhere on the snowy ground.

13 December

  • Added various different sized presents under and around the tree.

14 December

  • Make snowballs bigger by rolling them around on the snowy ground.

15 December

  • Make marble run ramps adjustable, so they can accommodate various sizes of snowball.

16 December

  • Penguin bowling game, and left-hand teleporting, so you can stand the penguins up again.

17 December

  • Added background music.

18 December

  • Added volume control to turn the background music down.

19 December

  • Sticky snowballs, which enables large constructions

20 December

  • "Magic paintbrush" can be used to paint snowballs and icicles.

21 December

  • Perimeter fence - sticks can be used as building material.

22 December

  • "Merry Christmas" stackable alphabet blocks.

23 December

  • Mechanism to clear and reset the bowling alley.

24 December

  • Task board & celebration on completion

Credits

Music is "Christmas Magic" by AShamaluevMusic

https://soundcloud.com/ashamaluevmusic/christmas-magic

Xylophone sounds by DANMITCH3LL, via freesound.org, under CC BY 3.0 license.

https://freesound.org/people/DANMITCH3LL/packs/14220/

Cheers & applause sounds by neilraouf, via freesound.org, under CC 0 license.

https://freesound.org/people/neilraouf/sounds/484513/

Built using A-Frame and THREE.js

Environment from A-Frame Environment Component

Particles (snow) from A-Frame Particle System

Collisions & physics uses A-Frame Physics System and Ammo.js

Teleportation uses A-Frame Teleport Controls

The volume control for the music is a modified version of the dial control from A-Frame UI Widgets

About

A Christmas Scene in VR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages