Refine contourline

This commit is contained in:
Cat /dev/Nulo 2022-05-05 12:03:47 -03:00
parent 6f3bf9a5b7
commit cbe22bd9ac
3 changed files with 5 additions and 1 deletions

2
go.mod
View file

@ -9,3 +9,5 @@ require (
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
golang.org/x/image v0.0.0-20210220032944-ac19c3e999fb // indirect golang.org/x/image v0.0.0-20210220032944-ac19c3e999fb // indirect
) )
replace github.com/jdxyw/generativeart => gitea.nulo.in/Nulo/generativeart v0.0.0-20220505144904-d148b2742677

2
go.sum
View file

@ -1,3 +1,5 @@
gitea.nulo.in/Nulo/generativeart v0.0.0-20220505144904-d148b2742677 h1:akbVh0TloTEsASSDoHuUCEXIDND2BQA3gAzTJIIHB1Y=
gitea.nulo.in/Nulo/generativeart v0.0.0-20220505144904-d148b2742677/go.mod h1:KLeb41mWAuL1YMqEuhikZ6/kC/yZJyvda4ZUaVzpu6A=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fogleman/gg v1.3.0 h1:/7zJX8F6AaYQc57WQCyN9cAIz+4bCJGO9B+dyW29am8= github.com/fogleman/gg v1.3.0 h1:/7zJX8F6AaYQc57WQCyN9cAIz+4bCJGO9B+dyW29am8=

View file

@ -68,7 +68,7 @@ func GenerateContourLine(wg *sync.WaitGroup) {
c := generativeart.NewCanva(CANVAS_WIDTH, CANVAS_HEIGHT) c := generativeart.NewCanva(CANVAS_WIDTH, CANVAS_HEIGHT)
PrepareCanvas(c) PrepareCanvas(c)
c.Draw(arts.NewContourLine(999)) c.Draw(arts.NewContourLine(600, 3))
c.ToPNG("rose_pine_contourline.png") c.ToPNG("rose_pine_contourline.png")
} }