1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-20 15:32:09 +02:00

graphics-api docs

This commit is contained in:
Pomax
2020-09-19 12:29:43 -07:00
parent 7bf5a223bf
commit 7c530fee56
31 changed files with 420 additions and 103 deletions

View File

@@ -5,8 +5,8 @@ setup() {
h = this.height;
for (let i=0; i<10; i++) {
points.push({
x: w/2 + random() * 20 + cos(PI*2 * i/10) * (w/2 - 40),
y: h/2 + random() * 20 + sin(PI*2 * i/10) * (h/2 - 40)
x: w/2 + random(20) + cos(PI*2 * i/10) * (w/2 - 40),
y: h/2 + random(20) + sin(PI*2 * i/10) * (h/2 - 40)
});
}
setMovable(points);