From cbe22bd9ac00a3fdcbf66f0d4ce443fecc4bf7cd Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 5 May 2022 12:03:47 -0300 Subject: [PATCH] Refine contourline --- go.mod | 2 ++ go.sum | 2 ++ main.go | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index e0efdf9..43f8878 100644 --- a/go.mod +++ b/go.mod @@ -9,3 +9,5 @@ require ( github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // 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 diff --git a/go.sum b/go.sum index 5e3a3db..0da4624 100644 --- a/go.sum +++ b/go.sum @@ -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/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/fogleman/gg v1.3.0 h1:/7zJX8F6AaYQc57WQCyN9cAIz+4bCJGO9B+dyW29am8= diff --git a/main.go b/main.go index d6fc889..63c8ebf 100644 --- a/main.go +++ b/main.go @@ -68,7 +68,7 @@ func GenerateContourLine(wg *sync.WaitGroup) { c := generativeart.NewCanva(CANVAS_WIDTH, CANVAS_HEIGHT) PrepareCanvas(c) - c.Draw(arts.NewContourLine(999)) + c.Draw(arts.NewContourLine(600, 3)) c.ToPNG("rose_pine_contourline.png") }