NOC week3 : Trigonometry and Oscillation

This week assignment was to make loop animated or Gif using sin( ) / cos ( )

After seeing some example videos, one that is most surprise me by the math behind it is the rose pattern thing ( It’s very complicated but also super simple at the same time 🤯) so I try to make my fiest sketch with the rose idea by mapping the range of sin ( -1, 1 ) to the radius of the ellipse and put it in grid to created some pattern.

Here is the Sketch

First with just BW

First with just BW

Applying color with mousePressed( )

Applying color with mousePressed( )

After that I want to play with something a little bit more to create a loop since this sin( ) lines that draw over and over on top of each other seems like a never ending video. So instead of line I try to make a solid pattern with d and sin( ) and also play with Framerate to crate a retro effect that i want.

Here is the Sketch

suphitcha donsrichanComment