2009-04-22から1日間の記事一覧
コードはこんなの /** * Move Eye. * by Simon Greenwold. * * The camera lifts up (controlled by mouseY) while looking at the same point. */ void setup() { size(640, 360, P3D); fill(204); } void draw() { lights(); background(0); // Change hei…
エントリ名の通りっす。以下urlの内容を流してみまっす。 http://processing.org/learning/gettingstarted/ インストールについて http://processing.org/download からダウンロードして適当なとこに解凍すればいいぽい。 スケッチする size(400, 400); back…
コードはこんなの /** * Array 2D. * * Demonstrates the syntax for creating a two-dimensional (2D) array. * Values in a 2D array are accessed through two index values. * 2D arrays are useful for storing images. In this example, each dot * is…
他の3DのExamplesがキツく感じたのでBasicsからを攻めることにしました。 コードはこんなの /** * Array. * * An array is a list of data. Each piece of data in an array * is identified by an index number representing its position in * the array. …