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.FillBackground() c.SetColorSchema(common.DarkRed) c.SetForeground(common.LightPink) c.Draw(arts.NewJanus(10, 0.2)) c.ToPNG("janus.png") }