jdxyw / generativeart Goto Github PK
View Code? Open in Web Editor NEWGenerative Art in Go
License: MIT License
Generative Art in Go
License: MIT License
There happens to be one in golang: https://github.com/psykhi/wordclouds
It appears to be quite useful and might be a nice addition to this collection.
I recieve the following error:
.\example_dotline.go:18:19: undefined: common.Plasma
I create color scale library, which maybe useful for generative art.
Repo: https://github.com/mazznoer/colorgrad
Sorry for my broken english and feel free to close this issue.
We currently cannot use the Options
struct for the SetOptions()
method because its fields aren't exported.
Had to use the helpers function instead :
type OptionsOverride struct {
Background color.RGBA
Foreground color.RGBA
LineColor color.RGBA
LineWidth float64
ColorSchema []color.RGBA
NIters int
Alpha int
}
func setCanvaOptions(c *generativeart.Canva, options OptionsOverride) {
c.SetBackground(options.Background)
c.SetForeground(options.Foreground)
c.SetLineColor(options.LineColor)
c.SetLineWidth(options.LineWidth)
c.SetColorSchema(options.ColorSchema)
c.SetIterations(options.NIters)
c.SetAlpha(options.Alpha)
}
sadly when go get
ting it it throws a tantrum:
~/code/refs/generativeart
โฏ go get github.com/jdxyw/generativeart
go: github.com/jdxyw/generativeart upgrade => v0.0.0-20210303093834-f33224c60df0
go get: github.com/jdxyw/[email protected]: parsing go.mod:
module declares its path as: generativeart
but was required as: github.com/jdxyw/generativeart
I'd open a PR myself but it requires updating all import paths all over the place. I might just do that ๐ค
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.