automated snapshot

This commit is contained in:
sumi
2025-12-24 08:38:37 -06:00
parent ffb69932e4
commit 87c8a97e2a
2 changed files with 7 additions and 7 deletions

View File

@@ -50,8 +50,8 @@ func main() {
t0 := time.Now()
rng := rand.New(rand.NewSource(0))
//imageField := NewImageField("/home/d/Dropbox/art/data/david.png")
imageField := NewImageField("/home/d/Dropbox/art/data/moses_statue.jpg")
imageField := NewImageField("/home/d/Dropbox/art/data/david.png")
//imageField := NewImageField("/home/d/Dropbox/art/data/moses_statue.jpg")
field :=
&TranslateField {
x: -float32(sourceWidth / 2.0),
@@ -66,7 +66,8 @@ func main() {
sierpinskiLayer := &SierpinskiArrow { dirty: true }
//sketch.AddColorLayer("background-magenta", rl.Magenta)
sketch.AddColorLayer("background-magenta", rl.Magenta)
//sketch.AddColorLayer("background-black", rl.Black)
sketch.AddLayer("field", &FieldLayer{field: field, loColor: rl.NewColor(0, 0, 0, 0), hiColor: rl.Yellow, dirty: true})
contourLayer := NewContourLayer(&sketch, rng, field)
sketch.AddLayer("contours", contourLayer)