Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Programming to play with p5.js

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →
kkeeth
June 25, 2025

Programming to play with p5.js

kkeeth

June 25, 2025

Transcript

45 slides
  1. 3

  2. 4

  3. setup This function is called once. It's used to de

    fi ne initial environment properties. draw Called directly after setup, continuously executes the lines of code contained inside its block until the program is stopped.
  4. setup This function is called once. It's used to de

    fi ne initial environment properties. draw Called directly after setup, continuously executes the lines of code contained inside its block until the program is stopped.
  5. Equation of a circle x2 + y2 = r2 O

    θ y x r P(x, y) x = ? y = ?
  6. Polar Coordinate System O θ r x = r cos(θ)

    y = r sin(θ) (r ≥ 0) P(r, θ)
  7. References p5.js Get Started • https://p5js.org/get-started/ δΣωϥςΟϒɾΞʔτɹProcessingʹΑΔ࣮ફΨΠυ • https://www.amazon.co.jp/dp/4861009634 Pinterst

    Search(generativeart) • https://onl.tw/2bhH4ZD Openprocessing • https://openprocessing.org/user/299354?o=13&view=sketches 𝕏 hash tag ”#ͭͿ΍͖Processing” • https://x.com/search?q=ͭͿ΍͖Processing&src=typeahead_click&f=live

More Decks by kkeeth

Other Decks in Programming