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
93
とある EM の初めての育休からの学び
clown0082
1
5.6k
The history of Javascript frameworks: changes in front-end design philosophy
clown0082
2
230
Visually experience the beauty of mathematics with p5.js
clown0082
1
3.3k
全員が意思決定する会社で開発者体験や生産性を見る大変さについて
clown0082
0
660
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
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
230
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
1.3k
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
190
Old Dog, New Tricks: The Java 25 Reinvention - JNation
bazlur_rahman
0
140
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
230
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
1
1.2k
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
120
運用エージェントは "作る" から "育てる" へ - 記憶と自己進化の3層設計パターン / self-evolving-agents-three-layer-agent-design
gawa
12
3.5k
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
590
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
450
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
750
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
140
Featured
See All Featured
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
430
The SEO identity crisis: Don't let AI make you average
varn
0
480
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
56k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
840
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Navigating Team Friction
lara
192
16k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
550
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
150
Ethics towards AI in product and experience design
skipperchong
2
300
Build your cross-platform service in a week with App Engine
jlugia
234
18k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
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