Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
JavaScript × Mathematics go to Digital Art
Search
kkeeth
November 19, 2022
Programming
480
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
120
とある EM の初めての育休からの学び
clown0082
1
5.9k
The history of Javascript frameworks: changes in front-end design philosophy
clown0082
2
250
Visually experience the beauty of mathematics with p5.js
clown0082
1
3.4k
Rediscover the joy of coding with Creative Coding
clown0082
0
2k
全員が意思決定する会社で開発者体験や生産性を見る大変さについて
clown0082
0
680
In-house study group at YUMEMI
clown0082
0
250
Playing Ionic Logo by p5.js
clown0082
0
370
Skills that employers recommend students to acquire
clown0082
1
340
Other Decks in Programming
See All in Programming
Workers Cache を知る
syumai
0
320
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
140
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
190
wkhtmltopdfの次どうするか問題2026
willnet
2
1.8k
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.2k
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
800
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
260
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
30
13k
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
4
400
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
400
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
370
モバイル交通系ICへのチャージ実例から考える、クロスプラットフォーム開発におけるiOS実機テスト設計とCI運用
yusuga
1
570
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Producing Creativity
orderedlist
PRO
348
41k
Design in an AI World
tapps
1
340
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Side Projects
sachag
456
43k
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Evolving SEO for Evolving Search Engines
ryanjones
0
300
Music & Morning Musume
bryan
48
7.4k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
290
Designing for humans not robots
tammielis
254
26k
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