εϡProcessing Advent Calendar 20127ܤλõǤ

http://farm3.staticflickr.com/2417/2113974300_44cd054732.jpg

By AlicePopkorn CC BY 2.0

line

Processing(ץå)Ȥäץߥ󥰤ϡȤäƤڤǤ͡

ɡޤˤȤʤۥӡץޡˤϡ꤬ޤ

ϡ̿Ȥ˺Ƥޤȡ

󡢥ޥ˥奢ɤޤʤȥץʤ

ͤ⤱äȻפΤǤ

line

Ĥϡ⤽ʤǤ

line

Processingϡӥ奢륢ȤʬǻȤƤơ

ȤäƤñ˥ץϤ뤳ȤǤ衢

ޤˤƤߤƤ

ԥ塼˴Ƥʤͤϡ

֥ץʤơפȵ䤵줿

ޤƤƤޤäͤ⤤󤸤ʤʡ

line

Ǻ󡢾Ҳ𤷤Τ

ܸäݤץߥ󥰸ƦץǤ

ܸäݤɤProcessing.jsѴƼ¹Ԥޤ

line

Ȥ櫓ǡεǤϡ

ܸäݤץߥ󥰸֤Ʀץȡפñ˾Ҳ𤷤ޤ

line

ƦץȤȤ

ܸäݤץߥ󥰸ǽ񤤤ɤϡȤäƤɤߤ䤹

顢󡢥ޥ˥奢ɤľʤƤ⡢

̿ΰ̣䥳ɤΰտޤפФȤǤޤ

ۤοͤΥɤѤꡢ

ʬȤDzɤȤˤǤ衣

line

֤Ʀץȡפϡ

ܸäݤȥФǥץ񤤤ơ

Processing.jsѴƼ¹Ԥޤ

顢ѥʤޡȥե䥿֥åȤǡ

Web֥饦ưȤǤޤ

ˡѴ줿ɤϡProcessingĶ˥ԥڤƤưޤ

line

ϡArudinoKinectΤ褦

ϡɥǤ褦ˤʤ(⤷ޤ)

ƦץȤƤߤ褦

ޤϡƦץȤºݤ˻Ƥߤޤ礦

ǥץ

line

ѰդΤϡѥ󤫥ޡȥե󡦥֥åȤ

ѥξϡǿWeb֥饦ѰդƤ͡

顢ƦץȤΥǥץ򤤤ĤƤߤޤ礦

Τ褦ʡ뷿塼ƥ󥰤ɤ䡢ưʪη򥷥ߥ졼3Dǥʤɤޤ

ƤߤǥץΥڡ˰ư顢֤ץܥ򲡤Ƥߤޤ礦

http://www.catch.jp/program/soramame/sample/demos/space_tunnel.html

http://www.catch.jp/program/soramame/sample/demos/boid.html

http://www.catch.jp/program/soramame/sample/demos/space_warp.html

http://www.catch.jp/program/soramame/sample/demos/matrix_box.html

Τۤץ뽸ڡ⤢ΤǡΤƤߤƤ

line

֤ץܥ򲡤顢ۤ顢ץबǤ硣

line

ɽƤܸäݤʸƦץȤ""Ǥ

ץϡΥɤɤưޤ

̤βˤϡѴ줿ProcessingɤɽƤޤ

򥳥ԡڡȤСProcessingĶǤ⡢ɤưȤǤޤ

soramame_s.png

ƦץȤΥɤ򸫤Ƥߤ褦

ƦץȤʸˡʷϵ򴶤뤿ˡ

ץɤƤߤޤ礦

ޤɤΥץ򸫤Ƥߤޤ礦

http://www.catch.jp/program/soramame/SoraMame_Script.html

ϡޥưˤ碌ơޥץǤ

line

ۤɤƱ褦ˡ֤ץܥ򥯥å顢

¹ԥꥢǥޥưƤߤޤ礦

äȤեȤߤǤ͡

line

ơΥץμºݤΥɤϡä

ûǤ硣

//ޥΰ֤˥ޥ
---ꤹ{
  {:250, ⤵:250}Υ
}

---֤褹{
  {x:@ޥX, y:@ޥY}{:50, ⤵:50}Υޥ
}

ܸäݤ񤤤ƤΤǡ

ɤDz򤷤Ƥ뤫

ʤȤʤñˤ狼ꤽʵޤ󤫡

ˤ褯ȡProcessingΥɤȤۤȤɹƱʤΤ狼Ǥ硣

ץɤ褦

㤢ΥץɤƤߤޤ礦

line

ФꡢΤ褦˽񤤤ƤԤޥȤ

{x:@ޥX, y:@ޥY}{:50, ⤵:50}Υޥ

򡢤ʤդѤƤߤޤ礦

{x:@ޥX, y:@ޥY}{:50, ⤵:50}Υ

ˤ֥ޥפ򡢡֥פѤ

line

ǡ⤦١֤ץܥ򲡤ȡ

ۤ顢ޥưˤ碌ƥ褦ˤʤޤ

index.php?plugin=ref&page=SoraMame.ps.js&src=mouse_move2.png

ˡΤ褦˽񤭤ʤȡΥѤ뤳ȤǤޤ

{x:@ޥX, y:@ޥY}{:100, ⤵:100}Υ

⡢ҼºݤˡƤߤƤ

ɤܸäݤʤäƤȡɤɤΤ褦ľİñʤʡ

ƦץȤħŪʤȤ

Ǥϡ֤ƦץȡפħŪʤȤ򡢤ĤҲ𤷤ޤ礦

ܸäݤɤϡɤߤ䤹Ρ

ܸäݤɤϡɤߤ䤹Ǥ礦

ˤϡܸ켰Υץߥ󥰸ϤޤڤƤʤ

ʵĤΡäȤǤ͡

line

ǡ2ĤΥɤ򸫤٤Ƥߤޤ礦

ɤ⡢ޥΰ֤˥ޥɤǤ

ellipse(mouseX,mouseY,50,50); 

{x:@ޥX, y:@ޥY}{:50, ⤵:50}Υޥ  

夬ProcessingסProcessing.jsפΥɡ

ƦץȤΥɤǤ

line

ProcessingפΤʤͤǤ⡢֤ƦץȡפΤۤϡ

ʤȤʤ̣ʬȻפǤǤ礦

line

ProcessingˤʤƤͤǤ⡢ܸ캮Υɤ

ѥäܤӹǤợİǤ봶ʤʡ

ƦץȤϡ̾ĤƤޤ

Ĥϡ֤ƦץȡפProcessingˤϤ⤦ҤȤİ㤤ޤ

ɤܸäݤʤäƤʤ̾ĤƤ뤳ȡ

line

Processingϡν֤ǡ䤬ޤäƤޤ͡

ȤС1ܤXɸ2ܤYɸ3ܤޥβȤǤ

顢ν֤ޤΤʤȡɤΰ̣狼ޤ

ɤɤǤϡΰɤ򤹤ΤǤʤΤǤ

Ǥ⡢ʤơʤʤФʤ顢

äѤޥ˥奢ɤꡢ䴰뤳ȤˤʤǤ

line

Фơ֤ƦץȡפǤϡ

{x: , y: }פȤ: , ⤵: }פȤ褦

̾ĤΤǡΰ̣ȤǤ硣

ܸȡޥɤ狼䤹Ф䤹

ʤߤˡΥɤǽФƤellipseפȤϡ

ѸǡʱߡפΤȡ

ߤʡʱñ졢ΤäƤޤ

line

ΤʤäɤƤФʤ

line

ProcessingȤäƤ֤ϡФ餯ФƤ뤱

ȤΤȡäѤ˺Ƥޤޤ

line

ȤäƤ⡢ΤProcessingäʤơ

ñ١ˤץߥ󥰸ΤۤȤɤ٤ƤʤդȻפ

line

ˡФʤȤäƤ⡢Processingϡ

ȤƤ⥷ץǻȤ䤹ͥ줿ץߥ󥰸Ȼפޤ

˻ȤϤơѥȤΤ̤뤫͡

Ϥƥץߥ󥰤ФˤϡŬˡΤҤȤĤȻפޤ

ºݤˡܤǤǤؤΥץߥ󥰼½ˡȤƤߤ

line

ɡѸˤʤƤͤProcessingȤϤΤȡ

ѸˤʤƤʤ¿ܿͤProcessingȤΤϡ

äȴФ㤦󤸤ʤȻϻפޤ

ʤʤ顢ѸˤʤƤʤͤϡ

ProcessingʤɤΥץߥ󥰸

ۤȤɰ̣ΤʤȤǧƤޤǤ

ϡۤProcessingȤƦץȤΥɤ٤Ȥ

ʬǤ´Ǥ󤸤ʤȻפޤ

line

ƦץȤϡϤƸͤǤɤǤ˰̣狼뤱ɡ

ProcessingϡʴϤʤǤ硣

顢ܸäݤץߥ󥰸ˤʤäƤProcessingС

äȥץߥ󥰤ϳФ䤹ʤϤǤ

ƦץȤʸˡ

ʤߤˡƦץȤ̿ʸϡʹˤʤäƤޤ

{̾:1, ̾:2,}(){̾:3, }()̿

줬ProcessingǤϡΤ褦б̿ʸѴޤ

̿(1, 2, 3)

line

ƦץȤΰν֤ϡProcessingƱˤʤäƤޤ

ĤΤȤ̾ϡʸˡŪˤäƤޤ

⡢ΤҤ餬ʰʸǤСۤȤɤξʤˤȤäƤ⤤Ǥ

̾ȽξϡѴ˼ΤƤƤޤޤ

顢̾⡢ɤᤳޤ줿Ȥߤʤ

ȹͤɤ⤷ޤ

line

á ɤĹơϤΤݤäơ

ϡץ륳ɤ򥳥ԥڤв褹ȻפɡɤǤ礦

ץߥ󥰤Ȥޤϼꤴʥץ륳ɤ

ҤäƤ뤳Ȥ¿󤸤ʤʡ

Ȥˡ鿴Ԥξϡ͡

line

ƦץȤΤ褦ˡ̾ĤƤС

ޥ˥奢Ĵ٤ʤƤ⡢

ɤΰ̣ȤϡäȤ狼䤹ʤޤ

ԥڤץ륳ɤ⡢Ф䤯İǤǤ

ץ¦⡢ɤβˡܸǥȤդʤƤȤ

⤦ɬפޤ

ƦץȤκμ

2012ǯ5ˡ֤ƦץȡפγȯϤơ

褦䤯餷ǥץҲǤ褦ˤʤäƤޤ

Ȥꤢޤϴñʥץ뤳ȤǤ֤Ǥ

line

ϡ뤱ɡ

line

֤ϡʳ˥桼ʤ()

line

ϡޥ

line

Ҥ礦˥ޥ

line

顢ƦץȤ˻ȤäƤͤ仿罸Ǥ

line

ۤˤ⡢ޤProcessing̿ݡȤƤʤȤ

ɥȤ񤭤Ȥ

ĤХ⤢Ȥ

Ϥ뤱ɡ

桼¸ߤʤΤ礭ʥϡɥǤ

line

ޤϡ򥯥ꥢʤ㤤ޤ

line

̣򤪻Ǥ顢ҡ塼ȥꥢɤǤߤƤ

ơʤˤäƤߤƤ

ޤǤ˺äProcessingΥå

ƦץȤǽľƤߤȤΤ⤤Τޤ

Сܸäݤץߥ󥰸ΰϤɾǤǤ礦

line

⤷СɤʤΤäƤ

⤷ʥץϡɤɤǥ˷ǺܤȻפäƤޤ

⤷⡢ޤ֤Ʀץȡפɬפ̿򥵥ݡȤƤʤƤ⡢

1Խ񤭴ɲäǤޤ

ܤϡʸˡȽ򻲾Ȥ

line

ʤߤˡƦץȼΤϡJavascriptdzȯƤ롢

ץ󥽡եȥ(MIT饤)Ǥ

񤤤

˭@y_catchfacebbook

ƥ˥饤ǡ40᤮ITϹ𲰡

դĤοͤϡܸ񤯤ΤϴƤ뤫Τʤ

ʸϤ⵻ϤȾüǤ

ʤΤˡƦץȤʤƤΤϤƤޤޤ

line

Ƕϡԥ塼طĴʪ򤷤Ȥϡ

WikiˤʤξĤ褦ˤƤޤ

ˡProcessingProcessing.jsˤĤĴ٤Ȥ⡢ʸ񤤤Ƥơ

줬ǶᡢGoogleǾ̤ɽ褦ˤʤäơäȤӤӤäƤޤ


  ȥå   ʬ Хåå   ñ측 ǽ   إ   ǽRSS
źեե: filesoramame_s.png 1173 [ܺ]
Last-modified: 2012-12-31 () 03:20:31 (2269d)