2019.2.2 Processing Community Day Tokyo 2019 https://pcd-tokyo.github.io/
上記イベントでのLightning Talk発表資料です。 Processingを活用して画像を生成し、 結合していかにリリースに持っていくかという話です。
1SPDFTTJOHΛ׆༻ͯ͠Ξχϝʔγϣϯ-*/&ελϯϓΛ࡞ͬͨProcessing Community Day in Tokyo 2019͖Ό (@cab_kyabe)
View Slide
͖Ό@cab_kyabehttps://kyabe.net
Processingͱͷग़ձ͍2008 தֶ3ੜ(·ͱʹ͑ΔΑ͏ʹͳͬͨͷେֶੜͷ͜Ζ͔Β)
ϑΝογϣϯγϣʔͷഎܠө૾@ਆށ2016.11 ϑΝογϣϯγϣʔͷഎܠө૾@ਆށ
YoutubeͰߨ࠲৴ͳΜͪΌͬͯδΣωϥςΟϒΞʔτΛ࡞Γͳ͕ΒϓϩάϥϛϯάΛֶͿίϯςϯπ
ຊ
ಈ͘ϥΠϯελϯϓΛ࡞ͬͨ
ੈքͷར༻ऀͷ1200ਓ
ΤσΟλͰίʔυೖྗ͢ΔΑ͏ͳΞχϝʔγϣϯ
ࠓ͓͍ͨ͜͠ͱ1. ࡞ͷϑϩʔ2. ϊϋڞ༗
࡞·Ͱ1. ΞΠσΞ͕ ߱Γͯ͘Δ2. ࣮ݱํ๏Λ ɹ ୳Δ3. ࣮
࡞·Ͱ1. ΞΠσΞ͕ ߱Γͯ͘Δ2. ࣮ݱํ๏Λ ɹ ୳Δ3. ࣮͜͜ΛͰ͖Δ͚ͩૣ͘Δͷ͕େࣄʂ
1. ΞΠσΞ͕߱Γͯ͘Δ
࣮ʹҠΔલͷઃܭ͕͍ͩ͡
όάࠞೖͯ͠·ͨ͠
ڭ܇
2. ࣮ݱํ๏Λ୳Δ1. ը૾Λੜ 2. ͍ͬͺ͍ੜ 3. ݁߹
ग़య: https://creator.line.me/ja/guideline/animationsticker/
ग़య: https://ja.wikipedia.org/wiki/Animated_Portable_Network_Graphics
2. ࣮ݱํ๏Λ୳Δ1. ը૾Λੜ 2. ͍ͬͺ͍ੜ 3. ݁߹͋apngasm
1. γεςϚςΟοΫʹ2. ಈը૾Λѻ͑Δ3. ؆୯ʹ࣮Ͱ͖Δ
3. ࣮https://github.com/cabbage63/code_anim
ProcessingͰ͍ͬͯΔ͜ͱ01_goodevening02_bye…01.png02.png……03.png04.png05.png
APNG߹༻Shellfor d in $(find . -depth 1 -type d); docount=$(ls $d -l | wc -l | tr -d ' ')apngasm -o $d.png $d/*.png -d$((2000/($count-1))) -l1doneAPNG Assemblerhttps://github.com/apngasm/apngasm
APNG߹༻Shellfor d in $(find . -depth 1 -type d); docount=$(ls $d -l | wc -l | tr -d ' ')apngasm -o $d.png $d/*.png -d$((2000/($count-1))) -l1done01_hello02_bye…01.png02.png…σΟϨΫτϦϦετऔಘ
APNG߹༻Shellfor d in $(find . -depth 1 -type d); docount=$(ls $d -l | wc -l | tr -d ' ')apngasm -o $d.png $d/*.png -d$((2000/($count-1))) -l1done01_hello02_bye…01.png02.png…ϑΝΠϧΧϯτ
APNG߹༻Shellfor d in $(find . -depth 1 -type d); docount=$(ls $d -l | wc -l | tr -d ' ')apngasm -o $d.png $d/*.png -d$((2000/($count-1))) -l1done01_hello02_bye…01.png02.png…01_hello.pngapngʹ݁߹
APNG߹༻Shellfor d in $(find . -depth 1 -type d); docount=$(ls $d -l | wc -l | tr -d ' ')apngasm -o $d.png $d/*.png -d$((2000/($count-1))) -l1doneσΟϨΫτϦ໊ͷPNGϑΝΠϧΛੜ01_hello02_bye…01.png02.png…01_hello.pngapngʹ݁߹
APNG߹༻Shellfor d in $(find . -depth 1 -type d); docount=$(ls $d -l | wc -l | tr -d ' ')apngasm -o $d.png $d/*.png -d$((2000/($count-1))) -l1doneಡΈࠐΉϑΝΠϧΛࢦఆ01_hello02_bye…01.png02.png…01_hello.pngapngʹ݁߹
APNG߹༻Shellfor d in $(find . -depth 1 -type d); docount=$(ls $d -l | wc -l | tr -d ' ')apngasm -o $d.png $d/*.png -d$((2000/($count-1))) -l1donedelayΛ 2000 / (ϑϨʔϜ)ʹઃఆ࠷େ࠶ੜ࣌ؒΛͪΐ͏Ͳ2ඵʹ͢Δ
APNG߹༻Shellfor d in $(find . -depth 1 -type d); docount=$(ls $d -l | wc -l | tr -d ' ')apngasm -o $d.png $d/*.png -d$((2000/($count-1))) -l1doneϧʔϓճΛ1ճʹ͢Δ = ϧʔϓ͠ͳ͍
PRͦͷ1: 2ͭͷόʔδϣϯΛ৴த
ٕज़ॻయ6ͰProcessingຊΛॻ͘༧ఆͰ͢https://techbookfest.org/event/tbf06ڵຯ͋ΔํҰॹʹͭ͘Γ·ͤΜ͔ʂPRͦͷ2: ٕज़ಉਓࢽॻ͖͍ͨ