Skip to content

Instantly share code, notes, and snippets.

@andrusenn
Created November 8, 2019 13:00
Show Gist options
  • Save andrusenn/30ded49f7a93e8cb5bfe9823dcab0d8b to your computer and use it in GitHub Desktop.
Save andrusenn/30ded49f7a93e8cb5bfe9823dcab0d8b to your computer and use it in GitHub Desktop.
Code for LeParc
// 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