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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
kkeeth
September 26, 2023
Programming
2k
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
110
とある EM の初めての育休からの学び
clown0082
1
5.9k
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.4k
全員が意思決定する会社で開発者体験や生産性を見る大変さについて
clown0082
0
670
JavaScript × Mathematics go to Digital Art
clown0082
1
470
In-house study group at YUMEMI
clown0082
0
240
Playing Ionic Logo by p5.js
clown0082
0
360
Skills that employers recommend students to acquire
clown0082
1
330
Other Decks in Programming
See All in Programming
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
230
[PyCon KR 2026] More Variants, More Diversity for AI Accelerators
achimnol
0
130
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
260
Swift愛好会と私(ウホーイ) / Swift Fan Club and Uhooi
uhooi
0
120
初めての模倣学習とVLA
natsutan
0
460
書籍「プロフェッショナルAI駆動開発」紹介スライド
juntaromatsumoto
0
970
まずはプロンプトガイドを読もう、話はそれからだ
kiakiraki
1
260
go-spidermonkeyでAIエージェントのCode Modeを実装する
syumai
3
1.5k
DynamoDBの基礎を振り返りながらベクトル検索機能を理解する
musan
3
260
業務時間外もAIに働いてもらう話
colorful12
3
9.9k
Oxlintはいいぞ(続)
yug1224
1
540
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
0
200
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
360
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
Mobile First: as difficult as doing things right
swwweet
225
10k
Visualization
eitanlees
152
17k
Building AI with AI
inesmontani
PRO
1
1.2k
Exploring anti-patterns in Rails
aemeredith
3
490
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
920
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
How GitHub (no longer) Works
holman
316
150k
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