3
Tiny Doodler 🖊️ Abstract Generative Art by KilledByAPixel | Dwitter
source link: https://www.dwitter.net/d/29517
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Tiny Doodler 🖊️ Abstract Generative Art by KilledByAPixel
u(t) is called 60 times per second.
t: elapsed time in seconds.
c: A 1920x1080 canvas.
x: A 2D context for that canvas.
S: Math.sin
C: Math.cos
T: Math.tan
R: Generates rgba-strings, ex.: R(255, 255, 255, 0.5)
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK