automated snapshot
This commit is contained in:
4
main.go
4
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)
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user