mirror of
https://github.com/SamEyeBam/animate.git
synced 2026-11-17 04:55:40 +00:00
loop complete
This commit is contained in:
1 parent
8928173f84
commit
7ef6afb922
7 files changed
+201
-147
No files matched your search
+1
-1
@@ -115,7 +115,7 @@ class Spiral1 extends BaseShape {
|
||||
|
||||
for (let i = 1; i < this.sides + 1; i++) {
|
||||
end = stt + rad(rot);
|
||||
|
||||
ctx.lineWidth = 5
|
||||
ctx.beginPath();
|
||||
ctx.arc(centerX + Math.cos(rad(90 + piv * i + rotation)) * this.width, centerY + Math.sin(rad(90 + piv * i + rotation)) * this.width, this.width, stt + rad(rotation) - (stt - end) / 2, end + rad(rotation) + rad(n), 0);
|
||||
ctx.strokeStyle = this.colour;
|
||||
|
||||
Reference in new issue
Block a user