cyoq / HappyNewYear

Christmas tree in AR!

Home Page:https://cyoq.github.io/HappyNewYear/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Christmas tree in AR!

https://cyoq.github.io/HappyNewYear/


Languages

Language:JavaScript 89.6%Language:HTML 10.4%