Skip to content

Generative plant visuals using L-Systems, recursion, and other mathy type stuff

Notifications You must be signed in to change notification settings

cemckinley/generative-plants

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generative-plants

Plants drawn procedurally on a <canvas> element.

Demo Here!

Base Dependencies

Project Installation - NPM

This project can be installed locally using npm. After checking the project out from source control, cd to the root directory where package.json is located, and npm install ..

Third Party Libs - Bower

Third party js libs on this project are managed using Bower. Libs are installed initially with bower install [libname], and then the grunt run command includes a task to copy Bower components over to src/vendor, which is included in source control. When installing a new third party lib using Bower, you can run a grunt bower command to copy the new lib over to the vendor folder.

Workflow

All development work should be done in the 'src' directory. Use the grunt commands below for running the project locally and processing for deployable files.

Using grunt in the Terminal

cd to the trunk directory with the Gruntfile.js and use the following commands:

  • grunt run : runs a local static server with automatic live-reloading on port http://localhost:8008. Lints javascript, compiles SASS, and copies all files over to a 'local' folder that the static server points to. Watches all files for changes.
  • grunt build : packages all files for delivery to staging or production, output to a 'public' folder. Lints javascript, optimizes javascript, compiles and minifies CSS.

About

Generative plant visuals using L-Systems, recursion, and other mathy type stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published