Created
November 8, 2019 13:00
-
-
Save andrusenn/30ded49f7a93e8cb5bfe9823dcab0d8b to your computer and use it in GitHub Desktop.
Code for LeParc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hola LeParc! | |
colorMode(HSB, 255) | |
function draw() { | |
fade(random(255),255,255,10) | |
zoom(0.1) | |
displace(-5,0) | |
fill(45, 255, 255, 100) | |
noStroke() | |
circle(width / 2 + sinOsc(0.5) * 200, height / 2, 100 + sinOsc(0.1) * 500) | |
blendMode(SOFT_LIGHT) | |
rectMode(CENTER) | |
noStroke() | |
fill(240, 255, 255, 200) | |
beginRot(sinOsc()) | |
rect(width / 2, height / 2, 800, 100) | |
endRot() | |
mirrorY() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment