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
98
とある EM の初めての育休からの学び
clown0082
1
5.7k
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
670
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
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
360
OSINT for SRE: 学術論文とポストモーテムから探る システム障害の共通パターン / SRE NEXT 2026
tomoyk
1
2.5k
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.7k
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
1
120
アルゴリズムは何を圧縮しているのか ─ Haskell から育った「圧縮代数」というメンタルモデル
naoya
14
2.9k
霧の中の代数的エフェクト
funnyycat
1
280
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
200
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
460
スマートグラスで並列バイブコーディング
hyshu
0
280
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
250
PHPだって関数型したい 〜できること、できないこと〜 / fp-in-php
jsoizo
0
160
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
4
1k
Featured
See All Featured
A Soul's Torment
seathinner
6
3k
Claude Code のすすめ
schroneko
67
230k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
170
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
240
A Modern Web Designer's Workflow
chriscoyier
698
190k
First, design no harm
axbom
PRO
2
1.2k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
How to train your dragon (web standard)
notwaldorf
97
6.7k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Producing Creativity
orderedlist
PRO
348
40k
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