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
The Art of Creative Coding
Search
Atsushi Tadokoro
May 29, 2014
Technology
0
990
The Art of Creative Coding
Atsushi Tadokoro
May 29, 2014
Tweet
Share
More Decks by Atsushi Tadokoro
See All by Atsushi Tadokoro
デザイン言語総合講座 - クリエイティブ・コーディング
tado
0
2.7k
Tumblrを使う4 - Webサイトを構成する、固定ページとタグ
tado
0
1.8k
Tumblrを使う3- カスタムHTMLテーマの作成
tado
0
430
Processing.jsによるデータの可視化と生成的表現
tado
1
1.7k
Tumblrを使う2 - テーマをカスタマイズする
tado
0
350
Touchéの仕組みを理解 - ProcessingとArduinoの連携
tado
0
2.3k
Github Pagesで作品を公開、Automatic Page Generatorでサイトを生成
tado
0
1.5k
TumblrでWebサイトを作成
tado
0
690
bmaw14 第2回: Touchéセンサーを使う1 Touchéセンサーを作成する
tado
0
2.1k
Other Decks in Technology
See All in Technology
Evolving Architecture
rainerhahnekamp
3
260
comilioとCloudflare、そして未来へと向けて
oliver_diary
6
450
re:Invent 2024のふりかえり
beli68
0
110
【JAWS-UG大阪 reInvent reCap LT大会 サンバが始まったら強制終了】“1分”で初めてのソロ参戦reInventを数字で振り返りながら反省する
ttelltte
0
140
【Oracle Cloud ウェビナー】2025年のセキュリティ脅威を読み解く:リスクに備えるためのレジリエンスとデータ保護
oracle4engineer
PRO
1
100
0→1事業こそPMは営業すべし / pmconf #落選お披露目 / PM should do sales in zero to one
roki_n_
PRO
1
1.5k
20250116_JAWS_Osaka
takuyay0ne
2
200
Alignment and Autonomy in Cybozu - 300人の開発組織でアラインメントと自律性を両立させるアジャイルな組織運営 / RSGT2025
ama_ch
1
2.4k
When Windows Meets Kubernetes…
pichuang
0
310
Cloudflareで実現する AIエージェント ワークフロー基盤
kmd09
0
290
完全自律型AIエージェントとAgentic Workflow〜ワークフロー構築という現実解
pharma_x_tech
0
350
30分でわかる「リスクから学ぶKubernetesコンテナセキュリティ」/30min-k8s-container-sec
mochizuki875
3
450
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Documentation Writing (for coders)
carmenintech
67
4.5k
Thoughts on Productivity
jonyablonski
68
4.4k
Building Adaptive Systems
keathley
38
2.4k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Git: the NoSQL Database
bkeepers
PRO
427
64k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Designing for humans not robots
tammielis
250
25k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
230
52k
Transcript
5IF"SUPG$SFBUJWF$PEJOH ݄ ాॴ३
ࣗݾհ
ࣗݾհ ‣ ాॴ३ ͨͲ͜Ζ͋ͭ͠ ‣ ΫϦΤΠςΟϒɾίʔμʔ ‣ େֶඇৗۈߨࢣ
ଟຎඒज़େֶɺ౦ژज़େֶ ͳͲ ‣ ࡢ͔ΒɺࡦɾϝσΟΞݚڀՊത࢜աఔࡏ੶
ࣗݾհ ‣ IUUQZPQQBPSH TDSFFOTIPU@
ࣗݾհ ‣ ʰ#FZPOE*OUFSBDUJPO<վగୈ൛>ΫϦΤΠςΟϒɾίʔσΟϯάͷͨΊͷ PQFO'SBNFXPSLT࣮ફΨΠυʱઈࢍൢചத TDSFFOTIPU@
ΠϯτϩμΫγϣϯ લʹλΠϜεϦοϓ
લʹλΠϜεϦοϓ ‣ લͷʮ˞ΤϛϡϨʔλʔʯΛҎԼ͔Βμϯϩʔυ ‣ IUUQWJDFFNVTPVSDFGPSHFOFU ! ! ! ! !
! ! ! ! ‣ ˞ΤϛϡϨʔλʔ͋ΔγεςϜ্Ͱଞͷ04$16ͷػೳΛ࠶ݱ͠ɺͦͷ04 $16 ͚ͷΞϓϦέʔγϣϯιϑτΛಈ࡞ͤ͞ΔιϑτΣΞ WJDF
લʹλΠϜεϦοϓ ‣ WJDF$PNNPEPSFͷΤϛϡʔϨʔλʔ ! ‣ $PNNPEPSF ‣ ୯Ұػछͱͯ͠࠷ൢചͷଟ͍ύʔιφϧίϯϐϡʔλ
‣ ສ͔Βສ
લʹλΠϜεϦοϓ ‣ ·ͣɺWJDFͷதʹ͋Δ9Λ࣮ߦͯ͠ΈΔ ‣ ҎԼͷΑ͏ͳىಈը໘͕දࣔ͞ΕΔ
લʹλΠϜεϦοϓ ‣ ࣌ͷύʔιφϧίϯϐϡʔλ ‣ γεςϜΛىಈ͢Δͱɺ#"4*$ΤσΟλʔ͕දࣔ͞ΕΔ ‣ ॳظը໘͕ɺϓϩάϥϛϯάڥͩͬͨ !
‣ ࣌ͷύιίϯͷ30.ʹɺ#"4*$ΠϯλϓϦλʔ ίϯϐϡʔλͷϓϩάϥϜΛ࣮ ߦ͢ΔιϑτΣΞ ͕ଂ͞Ε͍ͯͨ ‣ #"4*$ϚΠίϯʹ͓͚Δඪ४ݴޠ ‣ ϚΠΫϩιϑτ༂ਐͷ࢝·Γ
લʹλΠϜεϦοϓ ‣ ϓϩάϥϜΛ࣮ߦͯ͠ΈΔ ‣ ·ͣఆ൪ͷɺ)&--0803-% 10 PRINT “HELLO WORLD” RUN
લʹλΠϜεϦοϓ ‣ ࢛ଇԋࢉՄೳ ‣ ྫ 10 PRINT 123+456 RUN
લʹλΠϜεϦοϓ ‣ ͘Γ͔͑͠ɺϝοηʔδΛදࣔ͢Δ ‣ ྫ 10 PRINT “HELLO! ”; 20
GOTO 10 RUN
લʹλΠϜεϦοϓ ‣ ը໘͕ϝοηʔδͰຒΊͭ͘͞ΕΔ
લʹλΠϜεϦοϓ ‣ ϝοηʔδͷจࣈྻΛॻ͖͑ͯɺύλʔϯΛੜͯ͠ΈΔ
$PNNPEPSͰδΣωϥςΟϒͳදݱʹઓ
$PNNPEPSͰδΣωϥςΟϒͳදݱʹઓ ‣ ͜͜·ͰͷࣝΛ༻ͯ͠ɺ$PNNPEPSͰδΣωϥςΟϒ (FOFSBUJWFੜ త ͳදݱʹઓ ‣ ҎԼͷϓϩάϥϜΛೖྗ ! !
! ! ‣ ্ͷϓϩάϥϜɺҎԼͷߦʹॖͯ͠ಉ͡ҙຯ 10 PRINT CHR$(205.5+RND(1)); 20 GOTO 10 RUN 10 PRINT CHR$(205.5+RND(1)); : GOTO 10 RUN
$PNNPEPSͰδΣωϥςΟϒͳදݱʹઓ ‣ ϥϯμϜͳ໎࿏ͷΑ͏ͳύλʔϯ͕ੜ͞ΕΔ
$PNNPEPSͰδΣωϥςΟϒͳදݱʹઓ ‣ ͳͥɺ͜ͷ༷͕ੜ͞ΕΔͷ͔ ! ‣ 3/% ˠʙͷϥϯμϜͳΛੜ
‣ $)3 ʜ Ͱɺׅހͷ࢛ࣺޒೖ͞ΕΔ ‣ 㱡Oˠ ‣ 㱡Oˠ ‣ ͭ·Γɺͱ͕ͷ֬Ͱੜ͞ΕΔ ! ‣ ͷจࣈʮaʯ ‣ ͷจࣈʮʯ ‣ ͜ͷͭͷจࣈͷΈ߹ΘͤͰɺύλʔϯ͕ੜ͞Ε͍ͯΔ ! ‣ ͷΛมԽͤͯ͞ΈΔ
$PNNPEPSͰδΣωϥςΟϒͳදݱʹઓ ‣ 10 PRINT CHR$(205.1+RND(1)); : GOTO 10
$PNNPEPSͰδΣωϥςΟϒͳදݱʹઓ ‣ 10 PRINT CHR$(205.97+RND(1)); : GOTO 10
$PNNPEPSͰδΣωϥςΟϒͳදݱʹઓ ‣ 10 PRINT CHR$(198.5+RND(1)); : GOTO 10
$PNNPEPSͰδΣωϥςΟϒͳදݱʹઓ ‣ ͞ΒʹෳࡶͳύλʔϯΛɺ͍Ζ͍Ζհ͠·͢ 10 PRINT CHR$(204+(INT(RND(1)+.5)*3)); : GOTO 10 10
PRINT CHR$(204+(RND(1)+.5)*3); : GOTO 10 10 print chr$(105+(rnd(1)+.5)*7); : goto 10 10 print chr$(200+(rnd(1)+.5)*3); : goto 10 10 print chr$(199+(rnd(1)+.5)*3); : goto 10 10 PRINT CHR$(181+(INT(RND(1)+.5)*3)+(INT(RND(1)+.5))); : GOTO 10 10 PRINT CHR$(181+(INT(RND(1)+.5)*3)); : GOTO 10 10 POKE 1024+RND(1)*1000,77.5+RND(1) : GOTO 10
ΫΠζ
ΫΠζ ‣ 13*/5ͷύλʔϯΛɺ1SPDFTTJOHͰඳ͚ͳ͍͔ ‣ Ͱ͖Δ͚ͩɺγϯϓϧʹ
ղྫ ‣ 13*/5GPS1SPDFTTJOH size(800, 600); int step = 20; for
(int y = 0; y < height; y += step) { for (int x = 0; x < width; x += step) { if (random(1) > 0.5) { line(x, y, x+step, y+step); } else { line(x, y+step, x+step, y); } } }
ղྫ ‣ 13*/5GPS1SPDFTTJOH
(-4-൛13*/5 ‣ IUUQHMTMIFSPLVDPNFIUNM
1SPDFTTJOHܝࣔ൘Ͱͷٞ ‣ IUUQGPSVNQSPDFTTJOHPSHPOFUPQJDDIBMMFOHFQSPDFTTJOH WBSJBUJPOTPGQSJOUDISSOEHPUPIUNM
͜͜·Ͱͷ·ͱΊ
͜͜·Ͱͷ·ͱΊ ‣ ʮύιίϯʯΧϧνϟʔᴈ໌ظʙ ‣ ίϯϐϡʔλΛ͏ϓϩάϥϛϯά͕લఏ ‣ ϓϩάϥϛϯά͢Δָ͠͞ɺتͼ ‣ ίʔυʹΑΔࢥߟ !
‣ ʮ1$༷ʑͳ͜ͱ͕ՄೳʹͳΔເͷϚγϯʯͱ͍͏Πϝʔδ ‣ ύιίϯͰ༡ͼͳ͕ΒʮίʔυʹΑΔࢥߟʯ͕ҭ·Ε͍ͯͬͨ
͜͜·Ͱͷ·ͱΊ ‣ ࢀߟɿ4IBSQ;ͷϚχϡΞϧ ‣ ʮ.;4&3*&4#"4*$ղઆ QEG ʯ
ίʔυʹΑΔࢥߟͷ࠶ൃݟ $SFBUJWF$PEJOH
$SFBUJWF$PEJOH ‣ ͜ͷ࡞ͷύλʔϯʹݟ͕֮͑
$SFBUJWF$PEJOH ‣ $BTFZ3FBT :FT/P ˡ͍ͭ࠷ۙͷ࡞
$SFBUJWF$PEJOH ‣ &OP)FO[F 3"45&3'")/%6/(
$SFBUJWF$PEJOH ‣ (PMBO-FWJO 4FMG"EIFSFODF GPS8SJUUFO*NBHFT
$SFBUJWF$PEJOH ‣ %BWJE8JDLT +BDPC`T$BWF
$SFBUJWF$PEJOH ‣ ʹೖͬͯɺʙͷίϯϐϡʔλɾΞʔτΛىͤ͞Δ࡞͕ଟ ग़ݱ ‣ ʮίʔυʹΑΔࢥߟʯͷϦόΠόϧ ! ‣ ͳͥɺ͜ͷΑ͏ͳݱ͕ىͬͨ͜ͷ͔
! ‣ ΞʔςΟετͷͨΊͷϓϩάϥϛϯάڥͷֵ໋ ‣ ˠΫϦΤΠςΟϒɾίʔσΠϯά $SFBUJWF$PEJOH
$SFBUJWF$PEJOH ‣ $SFBUJWF$PEJOHʹ͍ͭͯͷղઆө૾ ‣ 5IF"SUPG$SFBUJWF$PEJOHc0⒎#PPLc1#4 ‣ IUUQZPVUVCFF#7-5H