Skip to content

Yet another version of the Christmas 2020 scene, but this time it is personalised using URL parameters.

License

Notifications You must be signed in to change notification settings

cBridges851/Christmas-2020-Parameters

Repository files navigation

Christmas-2020-Parameters

CodeFactor

This is the Christmas scene that I have created for 2020. This version passes in a name via the URL. Many thanks to the creators of the 3D models:
Tree - Aya Kawa - (https://poly.google.com/view/5Wb8VjhKy5T)
Snowmen - Alex "Saffy" Safayan - (https://poly.google.com/view/0DiDQUcuv1d)
Candy Canes - Poly By Google - (https://poly.google.com/view/7DbOKA1uXfK)
Present 1 - Aaron Clifford - (https://poly.google.com/view/8wyQNiCKMBP)
Present 2 - Aaron Clifford - (https://poly.google.com/view/fTQnwgjpcuv)

Motivation

I wanted to create virtual Christmas cards for friends, so I used the general version I had made (https://github.com/cBridges851/Christmas-2020) and made some adjustments so I could put the person's name in the URL and this would be outputted instead of the word "everyone".

Tech/Framework

This uses A-Frame, a framework that is used to create web VR scenes. This was created inside a HTML file. This project also uses JavaScript to find the name in the URL and output it on the banner to replace the word "everyone".

Installation

  • This project is really easy to install if you wish to do so:
  • Clone this repository https://github.com/cBridges851/Christmas-2020-Parameters.git
  • Navigate to the files you wish to view. The HTML file where the A-Frame code is in the root folder.

How To Use

  • If you don't wish to download this onto your computer, you can simply view it here: https://cbridges851.github.io/Christmas-2020-Parameters/
  • If you do have this on your computer, you can open index.html in your text editor and open it on a live server.
  • To change the name on the scene, change the value after name= in the URL.
  • This is what the scene looks like: Christmas Scene Parameters Screenshot

Licence

This project uses the GPL-3.0 License

About

Yet another version of the Christmas 2020 scene, but this time it is personalised using URL parameters.

Topics

Resources

License

Stars

Watchers

Forks

Languages