repositories
/
SugarCubes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7e3329d
)
fixed worms
author
bb3dan
<github@bb3systems.com>
Fri, 4 Oct 2013 23:32:38 +0000
(19:32 -0400)
committer
bb3dan
<github@bb3systems.com>
Fri, 4 Oct 2013 23:32:38 +0000
(19:32 -0400)
DanHorwitz.pde
patch
|
blob
|
blame
|
history
diff --git
a/DanHorwitz.pde
b/DanHorwitz.pde
index 2ea3991b4377f967c94ecb04976537f0cca98022..d084609e620c2dde46d31ce2e02c09f674da5ffe 100755
(executable)
--- a/
DanHorwitz.pde
+++ b/
DanHorwitz.pde
@@
-509,7
+509,7
@@
class dLattice {
\r
dLattice DL_;
\r
//----------------------------------------------------------------------------------------------------------------------------------
\r
\r
dLattice DL_;
\r
//----------------------------------------------------------------------------------------------------------------------------------
\r
-class
Graph
extends SCPattern {
\r
+class
Worms
extends SCPattern {
\r
\r
int draw(dCursor c, int nAmount) {
\r
int nFrom = max(c.nLast+1,c.pos >> 12);
\r
\r
int draw(dCursor c, int nAmount) {
\r
int nFrom = max(c.nLast+1,c.pos >> 12);
\r
@@
-528,7
+528,7
@@
class Graph extends SCPattern {
int Cursors = 40;
\r
dCursor cur[] = new dCursor[Cursors];
\r
\r
int Cursors = 40;
\r
dCursor cur[] = new dCursor[Cursors];
\r
\r
-
Graph
(GLucose glucose) {
\r
+
Worms
(GLucose glucose) {
\r
super(glucose);
\r
if (DL_ == null) DL_ = new dLattice();
\r
for (int i=0; i<Cursors; i++) { cur[i] = new dCursor(color(random(360),50+random(50),50+random(50))); DL_.setRand(cur[i]); }
\r
super(glucose);
\r
if (DL_ == null) DL_ = new dLattice();
\r
for (int i=0; i<Cursors; i++) { cur[i] = new dCursor(color(random(360),50+random(50),50+random(50))); DL_.setRand(cur[i]); }
\r