automated snapshot

This commit is contained in:
sumi
2025-12-24 00:39:23 -06:00
parent 9079c84c9a
commit 08017d5ae8
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ func main() {
os.Exit(1)
}
rl.SetConfigFlags(rl.FlagMsaa4xHint)
//rl.SetConfigFlags(rl.FlagMsaa4xHint)
rl.InitWindow(targetWidth, targetHeight, "sumi sierpinski arrow")
// layout_name: controls initialization
@@ -64,7 +64,7 @@ func main() {
//sketch.AddColorLayer("background-black", rl.Black)
sketch.AddColorLayer("background-magenta", rl.Magenta)
sketch.AddLayer("field", &FieldLayer{field: field, loColor: rl.NewColor(0, 0, 0, 0), hiColor: rl.NewColor(44, 255, 200, 255), 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)
sketch.AddLayer("contours", contourLayer)
sketch.AddLayer("sierpinski-arrowhead", sierpinskiLayer)

View File

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