automated snapshot
This commit is contained in:
9
main.go
9
main.go
@@ -142,15 +142,6 @@ func main() {
|
|||||||
actorColor := color.RGBA { R: 39, G: 58, B: 59, A: 50 }
|
actorColor := color.RGBA { R: 39, G: 58, B: 59, A: 50 }
|
||||||
fmt.Printf("actor color = %v\n", actorColor)
|
fmt.Printf("actor color = %v\n", actorColor)
|
||||||
|
|
||||||
hsv := rl.ColorToHSV(actorColor)
|
|
||||||
hsv.Z *= 0.7
|
|
||||||
actorColor = rl.ColorFromHSV(hsv.X, hsv.Y, hsv.Z)
|
|
||||||
actorColor = sg.Clamp(actorColor, 10, 255)
|
|
||||||
actorColor.A = 10
|
|
||||||
|
|
||||||
//NewColor(11, 35, 176, 50),
|
|
||||||
|
|
||||||
//r
|
|
||||||
contourLayer := NewContourLayer(&sketch, rng, field, actorColor, -12*math.Pi, 12*math.Pi)
|
contourLayer := NewContourLayer(&sketch, rng, field, actorColor, -12*math.Pi, 12*math.Pi)
|
||||||
sketch.AddLayer("contours", contourLayer)
|
sketch.AddLayer("contours", contourLayer)
|
||||||
sketch.AddLayer("sierpinski-arrowhead", sierpinskiLayer)
|
sketch.AddLayer("sierpinski-arrowhead", sierpinskiLayer)
|
||||||
|
|||||||
Reference in New Issue
Block a user