format files
This commit is contained in:
parent
05f31aca8e
commit
6a5ef90802
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ func (s *sileSmoke) Generative(c *canva) {
|
||||||
cn := rand.Intn(s.maxCircle) + int(s.maxCircle/3)
|
cn := rand.Intn(s.maxCircle) + int(s.maxCircle/3)
|
||||||
circles := newCircleSlice(cn, c.width, c.height, s.minSteps, s.maxSteps, s.minRadius, s.maxRadius)
|
circles := newCircleSlice(cn, c.width, c.height, s.minSteps, s.maxSteps, s.minRadius, s.maxRadius)
|
||||||
|
|
||||||
for i :=0; i<s.maxStepsPerCircle; i++ {
|
for i := 0; i < s.maxStepsPerCircle; i++ {
|
||||||
ctex.SetRGBA255(0, 0, 0, 5)
|
ctex.SetRGBA255(0, 0, 0, 5)
|
||||||
ctex.DrawRectangle(0, 0, float64(c.width), float64(c.height))
|
ctex.DrawRectangle(0, 0, float64(c.width), float64(c.height))
|
||||||
ctex.Fill()
|
ctex.Fill()
|
||||||
|
@ -72,4 +72,4 @@ func (s *sileSmoke) Generative(c *canva) {
|
||||||
|
|
||||||
circles = circleSliceUpdate(circles, c.width, c.height)
|
circles = circleSliceUpdate(circles, c.width, c.height)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue