repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sinesphere working with notes
[SugarCubes.git]
/
GranimPattern.pde
diff --git
a/GranimPattern.pde
b/GranimPattern.pde
index 6c3088fa20bfde481766a94bad99ee4d6023ad70..450c17efb47fbd788f6d738c7b071a72d2221907 100644
(file)
--- a/
GranimPattern.pde
+++ b/
GranimPattern.pde
@@
-27,7
+27,7
@@
class Granim extends Graphic
{
while(width()< g.position+1)
{
{
while(width()< g.position+1)
{
- graphicBuffer.add(
color
(0,0,0));
+ graphicBuffer.add(
lx.hsb
(0,0,0));
}
drawAll();
displayList.put(name , g);
}
drawAll();
displayList.put(name , g);
@@
-55,7
+55,7
@@
class Granim extends Graphic
{
while(width()< g.position + g.width())
{
{
while(width()< g.position + g.width())
{
- graphicBuffer.add(
color
(0,0,0));
+ graphicBuffer.add(
lx.hsb
(0,0,0));
}
if(g.changed)
{
}
if(g.changed)
{
@@
-96,7
+96,7
@@
class GranimPattern extends SCPattern
return displayList.get(name);
}
return displayList.get(name);
}
- public void run(
int
deltaMs)
+ public void run(
double
deltaMs)
{
drawToPointList();
}
{
drawToPointList();
}
@@
-118,7
+118,7
@@
class GranimPattern extends SCPattern
{
colors[drawList.get(i).index] = gbuffer[i];
}
{
colors[drawList.get(i).index] = gbuffer[i];
}
- g.changed =false;
+ g.changed =
false;
}
}
}
}
@@
-141,7
+141,7
@@
class RedsGraphic extends Graphic
{
for(int i = 0; i < len ;i++)
{
{
for(int i = 0; i < len ;i++)
{
- graphicBuffer.add(
color
(0,255,255));
+ graphicBuffer.add(
lx.hsb
(0,255,255));
}
}
};
}
}
};
@@
-229,7
+229,7
@@
class ColorDotsGraphic extends Graphic
super();
for (int colorVal : colorSequence)
{
super();
for (int colorVal : colorSequence)
{
- graphicBuffer.add(
color
(colorVal, 255, 255));
+ graphicBuffer.add(
lx.hsb
(colorVal, 255, 255));
}
changed = true;
}
}
changed = true;
}