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
Rediscover the joy of coding with Creative Coding
Search
kkeeth
September 26, 2023
Programming
1.9k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rediscover the joy of coding with Creative Coding
kkeeth
September 26, 2023
More Decks by kkeeth
See All by kkeeth
Programming to play with p5.js
clown0082
0
100
とある 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
全員が意思決定する会社で開発者体験や生産性を見る大変さについて
clown0082
0
670
JavaScript × Mathematics go to Digital Art
clown0082
1
460
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
AIエージェントで 変わるAndroid開発環境
takahirom
2
710
AIを活用したE2Eテスト実装効率化のあゆみ / ebisu-mobile-14-kotetu
kotetuco
0
180
AWS CDK を「作」ってみた 〜フルスクラッチで見えた CDK の裏側〜 / aws-cdk-from-scratch
gotok365
3
500
Android CLI
fornewid
0
110
1年で人数1.5倍、PR数5.5倍増。 品質とアウトカムはどうなったか、 何が効いたか
ike002jp
0
140
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
150
吝嗇家のためのAI活用 / AI development for miser - ChatGPT + Issue Driven Development
tooppoo
0
190
5分で問診!Composer セキュリティ健康診断
codmoninc
0
560
광주소프트웨어마이스터고등학교 DevFest 특강 - 바이브 코딩 시대에서 주니어 개발자로 살아남는 방법
utilforever
1
150
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
1
280
SLOをサービス品質の共通言語にするために 取り組んできたこと
wakana0222
0
540
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
190
Featured
See All Featured
It's Worth the Effort
3n
188
29k
Why Our Code Smells
bkeepers
PRO
340
58k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Agile that works and the tools we love
rasmusluckow
331
22k
The Curse of the Amulet
leimatthew05
2
13k
Side Projects
sachag
455
43k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
380
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
How to make the Groovebox
asonas
2
2.3k
The SEO Collaboration Effect
kristinabergwall1
1
510
Transcript
Rediscover the joy of coding with Creative Coding 26 Sep,
2023 We Are JavaScripters! @42nd @kkeeth @kuwahara_jsri @kkeeth
Who am I
Who am I
Who am I
Introductory Remark 💁 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 😆
About a year ago
🤔 Is there anything that combines programming, mathematics and art
?
✕ Mathematics JavaScript Art works
✕ Mathematics JavaScript Art works Creative Coding, Generative Art
I tryed it !!
URL: https://p5js.org/
URL: https://p5js.org/ 👉
Processing p5.js Programming Language Java / (JavaScript) JavaScript Operating Environment
mainly PC Web Browser Performance Normal little slow
URL: https://editor.p5js.org/
setup This function is called once. It's used to define
initial environment properties. draw Called directly after setup, continuously executes the lines of code contained inside its block until the program is stopped.
draw Called directly after setup, continuously executes the lines of
code contained inside its block until the program is stopped. setup This function is called once. It's used to define initial environment properties.
https://github.com/processing/p5.js/blob/v1.7.0/src/core/main.js#L418
✕ JavaScript Mathematics Don’t worry 😆 ɾBasic trigonometric functions ɾPolar
coordinate system ɾVector Concepts
Polar Coordinate System
Vector Concepts
Sample & Code
https://zenn.dev/kkeeth/articles/rose-curve-variations
None
r = sin(θ n d )
None
core code 👉 only 7 lines!!
None
🤩 What fun !!
None
None
None
None
Image By: https://openprocessing.org/user/299354?o=13&view=sketches
Have fun with p5.js 😆
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