Skip to content

pouyamer/fire-flies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fireflies

screen-capture.webm

A beautiful fireflies simulation made using Canvas API.

Lovely Fireflies that flicker in the sky.

Prerequisites

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)

Getting Started

  1. Open up the terminal and type
npm install
  1. Then to build the project:
npm run build
  1. Copy the contents of build directory into your project folder
  2. Link all files in the js folder to your html file (before your main javascript file).

Configurations

your fireflies canvas has configuration that can be edited in src/config directory then use npm start to run the project in development mode.

Languages