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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
6k
The history of Javascript frameworks: changes in front-end design philosophy
clown0082
2
260
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
残高管理から台帳サービスへの進化
artoy
1
210
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
4
1.4k
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
350
JIS keyboard support in Omarchy
lef237
0
150
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.3k
golang-bob.pdf
iwatsukayura
0
130
contenteditable と日本語入力に向き合う
colorful12
0
210
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
860
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
160
Domain-Driven Transformation
hschwentner
2
2.3k
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
How to Ace a Technical Interview
jacobian
280
24k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
330
Documentation Writing (for coders)
carmenintech
77
5.6k
30 Presentation Tips
portentint
PRO
1
430
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Abbi's Birthday
coloredviolet
4
10k
How STYLIGHT went responsive
nonsquared
100
6.3k
Everyday Curiosity
cassininazir
0
360
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