added more algorithms

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Jürg Hallenbarter
2026-04-27 17:08:24 +00:00
parent d78ef16bff
commit 9a9080c155
10 changed files with 278 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
function setup() {
createCanvas(500, 500);
createCanvas(windowWidth, windowHeight);
}
function draw() {
@@ -7,7 +7,7 @@ function draw() {
for (let i = 0; i <= width * sqrt(2); i += 10) {
stroke(random(255), random(255), random(255))
strokeWeight(2)
strokeWeight(width / 70)
noFill()
circle(width / 2 + random(0, 30), height / 2 + random(0, 30), i)