automated snapshot

This commit is contained in:
sumi
2025-12-24 01:41:00 -06:00
parent 08017d5ae8
commit e048abf495
2 changed files with 2 additions and 3 deletions

View File

@@ -62,8 +62,7 @@ func main() {
sierpinskiLayer := &SierpinskiArrow { dirty: true } sierpinskiLayer := &SierpinskiArrow { dirty: true }
//sketch.AddColorLayer("background-black", rl.Black) //sketch.AddColorLayer("background-magenta", rl.Magenta)
sketch.AddColorLayer("background-magenta", rl.Magenta)
sketch.AddLayer("field", &FieldLayer{field: field, loColor: rl.NewColor(0, 0, 0, 0), hiColor: rl.Yellow, dirty: true}) sketch.AddLayer("field", &FieldLayer{field: field, loColor: rl.NewColor(0, 0, 0, 0), hiColor: rl.Yellow, dirty: true})
contourLayer := NewContourLayer(&sketch, rng, field) contourLayer := NewContourLayer(&sketch, rng, field)
sketch.AddLayer("contours", contourLayer) sketch.AddLayer("contours", contourLayer)

View File

@@ -128,7 +128,7 @@ func (s *Sketch) Draw(ctx *RenderCtx) {
viewport := s.CalcViewport(ctx) viewport := s.CalcViewport(ctx)
rl.BeginTextureMode(s.composite) rl.BeginTextureMode(s.composite)
rl.ClearBackground(rl.Blank) rl.ClearBackground(rl.Black)
for _, instance := range s.layerToolsOrdered { for _, instance := range s.layerToolsOrdered {
config := instance.config config := instance.config
if config.visible { if config.visible {