update the swirl image
This commit is contained in:
parent
c85e0b7a5c
commit
41b5da304d
4 changed files with 4 additions and 3 deletions
BIN
.DS_Store
vendored
Normal file
BIN
.DS_Store
vendored
Normal file
Binary file not shown.
|
@ -12,8 +12,8 @@ func main() {
|
|||
c := generativeart.NewCanva(1600, 1600)
|
||||
c.SetBackground(generativeart.Azure)
|
||||
c.FillBackground()
|
||||
c.SetForeground(color.RGBA{113, 3, 0, 180})
|
||||
c.SetIterations(8000000)
|
||||
c.Draw(generativeart.NewSwirl(0.970, -1.899, -1.381, -1.506, 2.0, 2.0))
|
||||
c.SetForeground(color.RGBA{113, 3, 0, 140})
|
||||
c.SetIterations(4000000)
|
||||
c.Draw(generativeart.NewSwirl(0.970, -1.899, 1.381, -1.506, 2.4, 2.4))
|
||||
c.ToPNG("swirl.png")
|
||||
}
|
||||
|
|
BIN
images/swirl.png
BIN
images/swirl.png
Binary file not shown.
Before Width: | Height: | Size: 665 KiB After Width: | Height: | Size: 301 KiB |
1
swirl.go
1
swirl.go
|
@ -40,6 +40,7 @@ func (s *swirl) Generative(c *canva) {
|
|||
}
|
||||
|
||||
s.removeNoisy(c)
|
||||
s.removeNoisy(c)
|
||||
}
|
||||
|
||||
func (s *swirl) swirlTransform(p point) point {
|
||||
|
|
Loading…
Reference in a new issue