Skip to content

tovarm-uchi/form-code

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FORM + CODE

----------------------------- Key -----------------------------------

See Live code @ https://tovarm-uchi.github.io/form-code/

Press r to Reset: This clears the screen and resets all the values to their initial values

Press n to create a NewForm: This randomizes the distance required to draw the shapes and randomizes the number of possible shapes as well.

Press s to Stop/Start: Pressing s to stop and start any movemovents

Click on the screen to create a center point for the shapes

Note: If pressed n while stopped, when creating the new form if there was a mouse click it is maintained.

---------------------- assignment details ----------------------------- p5.js + canvas

In this assignment we'll be experimenting with algorithmic composition using the web's Canvas API (for creating interactive and generative 2D drawings) via the p5.js library. As I explain the intro video for the playlist associated with this assignment, the goal is to create an algorithmic (visual) composition where the same code produces slightly different visual outputs each time it's run (ie. each time we refresh the page and/or as we interact with it).

About

experiment in algorithmic composition using the p5.js library && Canvas API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%