diff --git a/main.go b/main.go index 3d94523..2203f68 100644 --- a/main.go +++ b/main.go @@ -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) diff --git a/sketch.go b/sketch.go index a2bb124..8933cef 100644 --- a/sketch.go +++ b/sketch.go @@ -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 {