Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JavaScript × Mathematics go to Digital Art
Search
kkeeth
November 19, 2022
Programming
460
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JavaScript × Mathematics go to Digital Art
kkeeth
November 19, 2022
More Decks by kkeeth
See All by kkeeth
Programming to play with p5.js
clown0082
0
96
とある EM の初めての育休からの学び
clown0082
1
5.6k
The history of Javascript frameworks: changes in front-end design philosophy
clown0082
2
240
Visually experience the beauty of mathematics with p5.js
clown0082
1
3.3k
Rediscover the joy of coding with Creative Coding
clown0082
0
1.9k
全員が意思決定する会社で開発者体験や生産性を見る大変さについて
clown0082
0
660
In-house study group at YUMEMI
clown0082
0
240
Playing Ionic Logo by p5.js
clown0082
0
350
Skills that employers recommend students to acquire
clown0082
1
320
Other Decks in Programming
See All in Programming
JavaDoc 再入門
nagise
1
430
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
190
これからAgentCoreを触る方へトレンドはGatewayです
har1101
3
350
1B+ /day規模のログを管理する技術
broadleaf
0
120
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
130
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
310
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
8.6k
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.3k
なぜ型を書くのか? TSKaigi2026で改めて考える #tskaigi_smarthr
kajitack
0
170
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
760
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
280
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
610
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
490
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.6k
The SEO Collaboration Effect
kristinabergwall1
1
490
Design in an AI World
tapps
1
250
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
1.8k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Agile that works and the tools we love
rasmusluckow
331
22k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.4k
How to Think Like a Performance Engineer
csswizardry
28
2.7k
Transcript
JavaScript × Mathematics go to Digital Art 19 Nov, 2022
Front-end Conference Okinawa @kkeeth @kuwahara_jsri @kkeeth
Who am I
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 the Generative Art
Do you know Generative Art? Let's look at some specific
pieces!😁
None
None
None
Complex and unpredictable art created using algorithmic and mathematical methods
💁
✕ Mathematics JavaScript
✕ Mathematics JavaScript 😆
✕ Mathematics JavaScript Frequently used 😆 • ɾBasics(function, variables, scope,
if, for…) • ɾrandom() function •ɾclass
✕ JavaScript Mathematics 😱
✕ JavaScript Mathematics Don’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/
None
Sample & Code
None
r = sin(θ n d )
None
core code 👉 only 10 lines!!
At the end
Statements
Matt Pearson (ஶ), ԭ ܒհ (༁),ʮδΣωϥςΟϒɾΞʔτʕProcessingʹΑΔ࣮ફΨΠυʯ 2014 ংจ “δΣωϥςΟϒɾΞʔτίʔσΟϯάΛָ ͠ΉͨΊͷͷͰ͢ɻϓϩάϥϛϯάɺྑ
͍࣮ફɺߏɺޮͷͨΊ͚ͩͷͷͰ͋ Γ·ͤΜɻͦΕࣗ༝ɺ૾ྗɺදݱʹ͍ͭ ͯͷͷͰ͋Γ·͢ɻ”
Have fun with “Generative Art” 😆
References P5.js Tutorial | Create a generative art using image
data • https://youtu.be/me04ZrTJqWA 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
None