MANA

MANA Global New Media Art Platform

Art Design Technology Innovate

Fun Programming with Processing 029 Rectangle spinning around the mouse pointer
Open MANA APP,for more creatives

Fun Programming with Processing 029 Rectangle spinning around the mouse pointer

Creative Coding Education

348 2021-07-09 Download

In this episode we finally see how to rotate a rectangle around its own center. We add the fade-out effect to make the rectangle leave a nice blurry trail behind it, and changing just one line we make it spin around the mouse position.
Key ingredients for this episode are rectMode(), rotate() and translate().

Courtesy of Abe Pazos Solatie(Fun Programming)

Abe Pazos Solatie, artist and creative coder producing static, moving and interactive images with a focus on the subtle and the organic.


 

Creative Coding Processing

Creators

AlanHou

Works 46 Followers 30

上传者

Follow