Permalink
Browse files

Start work on a Processing demo script

  • Loading branch information...
1 parent e6b962e commit 00d20d79dbd35d24e07f4598501c392f805ebad3 @hlship committed Oct 29, 2010
@@ -35,7 +35,8 @@ library=["context:sh/js/shCore.js", "context:sh/js/shBrushJScript.js"
class Index {
enum Demo {
BASIC(200, 200, "basic.psj", "Circle follows mouse"),
- MOLTEN(600, 150, "molten.psj", "Molten Bar Chart")
+ MOLTEN(580, 150, "molten.psj", "Molten Bar Chart"),
+ HEXES(500, 500, "hexes.psj", "Flowing Hexagons")
final int width, height
@@ -0,0 +1,14 @@
+
+void setup() {
+ size(500, 500);
+ background(0);
+ noStroke();
+ rectMode(CENTER);
+}
+
+void draw() {
+
+ fill(100);
+ rect(100, 120, 50, 50);
+
+}

0 comments on commit 00d20d7

Please sign in to comment.