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

Programming to play with p5.js

Programming to play with p5.js

Avatar for kkeeth

kkeeth

June 25, 2025
Tweet

More Decks by kkeeth

Other Decks in Programming

Transcript

  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