Skip to content

cyoq/HappyNewYear

Repository files navigation

HappyNewYear

A little scene with the christmas tree using A-Frame, AR.js and Hammer.js.

Demonstration

Demonstration can be seen here: Link with this pattern marker demo

How to use it

In the downloaded folder run:

npm i

Project uses webpack bundler. Webpack development server runs on https://localhost:8080. In order to start development mode, run:

npm run dev

To build the project run:

npm run build

All built files are placed into the dist folder, excepting index.html which is placed into the root folder.

A big thanks to:

  • takashi for showing how to create snow particles.
  • Piotr Adam Milewski's answer on Stackoverflow how to rotate model in AR.js.