svgo
Go Language Library for SVG generation (by ajstarks)
canvas
Cairo in Go: vector to raster, SVG, PDF, EPS, WASM, OpenGL, Gio, etc. (by tdewolff)
svgo | canvas | |
---|---|---|
1 | 9 | |
2,158 | 1,544 | |
- | 0.9% | |
0.0 | 9.5 | |
about 2 years ago | about 5 hours ago | |
Go | Go | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
svgo
Posts with mentions or reviews of svgo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-06.
-
Processing equivalent in GoLang
this one can draw computer graphics primitives (since it's svg), can do animation, but not input/event-based animation (since it's just svg, not html) https://github.com/ajstarks/svgo
canvas
Posts with mentions or reviews of canvas.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-29.
-
Canvas vector graphics update: rich text and path boolean operation support
I wanted to share a recent large update to https://github.com/tdewolff/canvas, which is a vector graphics library written in Go to create images, PDFs, SVGs, OpenGL, etc. using vector drawing operations. Especially I wanted to show two new exciting features:
-
Client-side scripting for in-browser graphics.
It appears that there's a port of Cairo to Go which also targets webassembly. https://github.com/tdewolff/canvas
- Pixie – A full-featured 2D graphics library for Nim
-
Processing equivalent in GoLang
https://github.com/tdewolff/canvas/blob/master/examples/opengl/main.go can draw primitves but i think it would be a bit hard to do event based animation
-
tdewolff/canvas: vector graphics in Go (mayor update)
Yes! See https://github.com/tdewolff/canvas/tree/master/examples/gonum-plot for an example using gonum-plot. You should be able to plug-and-play to use the canvas library!
- Cairo in Go: Vector to SVG, PDF, EPS, Raster, HTML Canvas, etc.
What are some alternatives?
When comparing svgo and canvas you can also consider the following projects:
resize - Pure golang image resizing
tiny-skia - A tiny Skia subset ported to Rust
smartcrop - smartcrop finds good image crops for arbitrary crop sizes
go-cairo - Go binding for the cairo graphics library
gg - Go Graphics - 2D rendering in Go with a simple API.
bimg - Go package for fast high-level image processing powered by libvips C library
pixie - Full-featured 2d graphics library for Nim.
Primitive Pictures - Reproducing images with geometric primitives.
generative-art-in-go - A companion source code repository to the book "Generative Art in Go"
oksvg - Partial implementation of SVG 2.0 specification in golang.
bgracontrols - 🆗 BGRA Controls is a set of graphical UI elements that you can use with Lazarus LCL applications.