screen-capture.webm
A beautiful fireflies simulation made using Canvas API.
Lovely Fireflies that flicker in the sky.
You must have Node.js Installed on your Machine
Don't have node intalled? You can download it from official node.js website official Node.js website.
app uses typescript (for type-safety) and webpack (for bundling)
- Open up the terminal and type
npm install
- Then to build the project:
npm run build
- Copy the contents of
build
directory into your project folder - Link all files in the
js
folder to your html file (before your main javascript file).
your fireflies canvas has configuration that can be edited in src/config
directory
then use npm start
to run the project in development mode.