Skip to content

krikienoid/flagwaver

master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

FlagWaver

A web app for simulating a waving flag.

krikienoid.github.io/flagwaver

Features

  • Upload images from the web or from your device.
  • Supports flag cloths with different aspect ratios.
  • Set the hoist side and flag orientation.
  • Try out different flagpoles.
  • Adjust wind speed and direction.
  • Progressive Web App support.

Development

This project uses a Gulp-powered build system with these features:

  • Sass compilation and prefixing
  • Rollup JavaScript bundler
  • Built-in BrowserSync server
  • For production builds:
    • CSS compression
    • JavaScript compression

Build

  • Run npm install to install dependencies after pulling down the repository for the first time.
  • Run npm run start to build the project and run the website locally. The finished site will be created in a folder called dist and will be viewable in the browser at http://localhost:8000.
  • Run npm run start-test to build the project to the dist directory with production ready assets.

Resources

Credits

Written by krikienoid. Based on previous work by flagtest.nz and Joshua Koo.

License

Code

Code released under the MIT License.

Assets

All art assets included in this project are distributed under their respective licenses.