Skip to content

ngolapnguyen/generative-art

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generative-art

Toy project to experiment with drawing generative art with Canvas API.

1. Grid

Grid Sample

2. Circle

Circle Sample

3. Sol Wall

  • Base on a grid of n x n size.
  • Pick 2 random points from the grid, then pick 2 more points by projecting each point down to the bottom of the grid. These points will create a trapezoid
  • Fill the trapezoid with a random color, then stroke it with the background color
  • Repeat until all points on the grid are exhausted. Layer the shapes in descending order of their average height.

Sol Wall Sample

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published