Skip to content

Commit

Permalink
+{]]><[[}+
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaudry committed Nov 16, 2024
1 parent 891ff84 commit ff7adec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions p5-experiments/flowfield004.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
save("plottablefield001.svg");
}

var res = 11 //knob: density of the field
var res = 5 //knob: density of the field
var noiseres = 0.09//knob: speed to navigate noise. smallest, smoother angle changes
var steplength = 0.5*res//knob: length of each curve
var steplength = 5*res//knob: length of each curve
var strw = 2 //knob: weight of each curve
var field = []
var nbcols = Math.floor(w / res) + 1
Expand All @@ -88,7 +88,7 @@
//drawfieldangles()
zoff += 0.1
//drawcurveinfield(Math.floor(0.5*nbrows), Math.floor(0.9*nbcols), 1, 42)
drawcurveinfield(Math.floor(random(nbrows)), Math.floor(random(nbcols)), 3, 42)
drawcurveinfield(Math.floor(random(nbrows)), Math.floor(random(nbcols)), 3, 142)
//noLoop()
if (frameCount == 17000) { noLoop() }
}
Expand Down

0 comments on commit ff7adec

Please sign in to comment.