package main import ( "github.com/jdxyw/generativeart" "github.com/jdxyw/generativeart/arts" "github.com/jdxyw/generativeart/common" "math/rand" "time" ) func main() { rand.Seed(time.Now().Unix()) c := generativeart.NewCanva(500, 500) c.SetBackground(common.Black) c.SetLineWidth(1) c.SetLineColor(common.Orange) c.SetAlpha(30) c.SetIterations(1000) c.FillBackground() c.Draw(arts.NewCircleLoop(100)) c.ToPNG("circleloop.png") }