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
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.8k
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
仕様駆動開発へのトライを機に チームに適合する手法を模索し続けている話
freee
PRO
0
670
S3 を使うアプリケーションをローカル完結で動かすことに全力を注いでみた / Running S3 Apps Offline
contour_gara
0
710
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
260
Hello, Hiroshima Geospatial Data! — Exploring DoboX with Python
ra0kley
0
140
プロポーザルを書いてもらう
pvcresin
0
590
FastAPI の並行処理モデルを完全に理解する
hoto17296
9
3.3k
AIを上手に使っていこうとしたら越境せざるを得なくなった話 〜実践1年で見えた境界を越えなければならない理由と進め方〜 / Crossing borders with AI
tomoyakitaura
2
810
React本体のコードリーディング
high_g_engineer
1
160
Dockerfile CMD for Node.js
grazie1999
0
160
AIと壁打ちしながら進めるコスト管理
fufuhu
2
1.9k
Go を使い始めて 2 ヶ月の学び / My first two months with Go
contour_gara
0
400
ALB ログから Trace を気合で繋げる技術
fohte
7
820
Featured
See All Featured
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
960
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
The World Runs on Bad Software
bkeepers
PRO
72
12k
How STYLIGHT went responsive
nonsquared
100
6.3k
Making the Leap to Tech Lead
cromwellryan
135
10k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
370
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
390
Facilitating Awesome Meetings
lara
57
7.1k
A Tale of Four Properties
chriscoyier
163
24k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
430
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