From 0a3afccbd19b6c737525f5c48ba4a8d327c66c5a Mon Sep 17 00:00:00 2001 From: sumi Date: Sun, 11 Jan 2026 21:32:48 -0600 Subject: [PATCH] automated snapshot --- blinds.go | 4 ++++ main.go | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/blinds.go b/blinds.go index 3234722..e489881 100644 --- a/blinds.go +++ b/blinds.go @@ -19,6 +19,8 @@ func NewBlindsLayer(field Field) *BlindsLayer { func (l *BlindsLayer) Draw(env *Env, g *sg.Graphics) { + g.BeginAdditiveBlend() + rowHeight := float32(10.0) rows := int32(g.Bounds.Height / rowHeight) @@ -42,6 +44,8 @@ func (l *BlindsLayer) Draw(env *Env, g *sg.Graphics) { } l.Dirty = false + + g.EndBlend() } func (l *BlindsLayer) Update(env *Env, g *sg.Graphics) { diff --git a/main.go b/main.go index 5d01e8f..44f2b12 100644 --- a/main.go +++ b/main.go @@ -108,7 +108,7 @@ func main() { rng := rand.New(rand.NewSource(env.Time.Unix())) //imageField := NewImageField("/home/d/Dropbox/art/data/david.png") noiseField := &SimplexNoiseField{Noise: opensimplex.New32(env.Time.Unix())} - imageField := NewImageField("/home/d/Dropbox/art/data/ramstatue.png") + //imageField := NewImageField("/home/d/Dropbox/art/data/ramstatue.png") //imageField := NewImageField("/home/d/Dropbox/art/data/bassrockastro/Photo Dec 24 2025, 5 58 23 PM.jpg") //imageField := NewImageField("/home/d/Dropbox/art/data/bassrockastro/andromeda.jpg") //imageField := NewImageField("/home/d/Dropbox/art/data/moses_statue.jpg") @@ -121,7 +121,7 @@ func main() { field: &AdderField{ fields: []Field{ - &ScaleField{scale: 3, field: imageField}, + //&ScaleField{scale: 3, field: imageField}, &ScaleField{scale: 250, field: noiseField}, }, },