mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-23 00:33:12 +02:00
image regeneration
This commit is contained in:
@@ -43,12 +43,12 @@ draw() {
|
||||
noFill();
|
||||
|
||||
this.s.forEach((s,i) => {
|
||||
setStroke( randomColor(0.2));
|
||||
setStroke(randomColor(0.2));
|
||||
line(
|
||||
i/(this.s.length-1) * this.width, 0,
|
||||
i/(this.s.length-1) * this.width, this.height
|
||||
)
|
||||
setStroke( randomColor(1.0, false ));
|
||||
setStroke(randomColor(1.0, false ));
|
||||
drawShape(s);
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user