Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 716 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 716 Bytes

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