Press a to change color, press s to scale the rotating circles up press d to restart the drawing move your mouse around to change the scale and rotation of the rectangle in the middle. The rectangle in the middle moving around is like your eraser! Remove, erase, redraw. Have fun!

A fork of HW Week 6: Transform by Dhruti

CC Attribution ShareAlike

HW Week 6: Transform

Using the transformation functions (translate(x,y), rotate(angle), and/or scale(x,y)) create a sketch with animated, spiralling shapes. Your sketch must incorporate a color palette of interpolated colors using lerpColor(). To successfully complete this assignment, you must use at least two of the three transformation functions.
Press a to change color, press s to scale the rotating circles up press d to restart the drawing move your mouse around to change the scale and rotation of the rectangle in the middle. The rectangle in the middle moving around is like your eraser! Remove, erase, redraw. Have fun!
e.g., mouse, keyboard
e.g., visualization, fractal, mouse
Learn more about Creative Commons
Join Plus+ to change privacy settings
  • mySketch
Select mode or a template
Centers sketch and matches the background color.
Prevents infinite loops that may freeze the sketch.
This will be the default layout for your sketches
Easy on the eyes
It will show up when there is an error or print() in code
Potential warnings will be displayed as you type
Closes parenthesis-like characters automatically as you type

Controls
Play
Ctrl+Enter
Code
Ctrl+Shift+Enter
Save
Ctrl+S
Interface
Fullscreen
Ctrl+Alt+F
Switch Layout
Ctrl+Alt+L
Settings
Ctrl+Alt+.
Editor
Tidy Code
Ctrl+B
Multiple Cursors
Ctrl+Click
Duplicate Line/Selection
Ctrl+Shift+D
Move Line
Alt+↑/↓
Select Multiple
Ctrl+D
Find in Code
Ctrl+F
Find Next
Ctrl+G
Find Previous
Ctrl+Shift+G

See More Shortcuts

Join Plus+ for private sketches, version history, 1GB space, custom embeds, and more!