Generative Art

Rounding Rectangles

Oct 5, 2022

This sketch is interactive and reacts to your cursor. The corners near and “facing” the mouse get rounder.

It only works on well on desktops : /

Use these keys to change the settings (No need to refresh)

  • A and D to increase/decrease the number of rows and columns

  • W and S to increase/decrease how much corners need to face the mouse before rounding

  • Q and E to increase/decrease the shrinking of squares near the mouse cursor

  • Z and C to increase/decrease the gap between squares

You can also

  • Click on the canvas to to reset the settings to their defaults

  • Press V to save a png