JavaScript × Mathematicsgo to Digital Art19 Nov, 2022 Front-end Conference Okinawa@kkeeth @kuwahara_jsri @kkeeth
View Slide
Who am I
Image By: https://openprocessing.org/user/299354?o=13&view=sketches
Introductory Remark1 💁The title says "Digital Art”,but I'm talking about "Generative Art”.
Introductory Remark2 💁This slide is written in English.However, I’m still learning English,and there may be some inappropriate expressions.So, please give me MASAKARI for my expressions 👍
Let’s start 😆
What’s theGenerative Art
Do you know Generative Art?Let's look at some specific pieces!😁
Complex and unpredictable art created usingalgorithmic and mathematical methods 💁
✕ MathematicsJavaScript
✕ MathematicsJavaScript😆
✕ MathematicsJavaScriptFrequently used 😆• ɾBasics(function, variables,scope, if, for…)• ɾrandom() function•ɾclass
✕JavaScript Mathematics😱
✕JavaScript MathematicsDon’t worry 😆ɾBasic trigonometric functionsɾPolar coordinate systemɾVector Concepts
Polar Coordinate System
Vector Concepts
Tool/Library
URL: https://p5js.org/
URL: https://editor.p5js.org/
Sample & Code
r = sin(θnd)
core code 👉only 10 lines!!
At the end
Statements
Matt Pearson (ஶ), ԭ ܒհ (༁),ʮδΣωϥςΟϒɾΞʔτʕProcessingʹΑΔ࣮ફΨΠυʯ2014 ংจ“δΣωϥςΟϒɾΞʔτίʔσΟϯάΛָ͠ΉͨΊͷͷͰ͢ɻϓϩάϥϛϯάɺྑ͍࣮ફɺߏɺޮͷͨΊ͚ͩͷͷͰ͋Γ·ͤΜɻͦΕࣗ༝ɺ૾ྗɺදݱʹ͍ͭͯͷͷͰ͋Γ·͢ɻ”
Have fun with“Generative Art” 😆
ReferencesP5.js Tutorial | Create a generative art using image data• https://youtu.be/me04ZrTJqWAp5.js Get Started• https://p5js.org/get-started/δΣωϥςΟϒɾΞʔτɹProcessingʹΑΔ࣮ફΨΠυ• https://www.amazon.co.jp/dp/4861009634Pinterst Search(generativeart)• https://onl.tw/2bhH4ZDOpenprocessing• https://openprocessing.org/user/299354?o=13&view=sketches