gg
d2-playground
gg | d2-playground | |
---|---|---|
14 | 23 | |
4,280 | 63 | |
- | - | |
0.0 | 6.5 | |
5 months ago | 9 days ago | |
Go | JavaScript | |
MIT License | Mozilla Public License 2.0 |
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.
gg
-
I wrote a tool in Go to write Sequence Diagrams in Go
The author explicitly says:
> You don't need to download any dependencies such as plantUML or Graphviz, which is what most of the tools out there require and what was also my motivation to start this project. go-uml is using a 2D graphics engine written 100% in Go https://github.com/fogleman/gg
So no, this is not a solution for these requirements.
-
Golang library similar to Python's pillow
I really like the [fogleman/gg](https://github.com/fogleman/gg) package for image manipulation, it is pure Go and has many functions to draw and manipulate images.
-
Creating Dynamic Shipping Labels
you can try something like: https://github.com/fogleman/gg to create such images from templates
-
Imagor - fast, Docker-ready image processing server written in Go and libvips, with Thumbor URL syntax
I've always used the GG library for my image processing needs, and I've heard of libvips somewhere before (likely from the Node.js world) but didn't know it had a Go port/wrapper. :) I'll definitely check that out as well
-
Rotate Text on Image
what library are you using? I recommend this one.
-
Trying out some new generative techniques with Go.
Mainly, the standard library and my favorite gg.
-
Processing equivalent in GoLang
Have you been hit by https://github.com/fogleman/gg/issues/85 when writing your book?
-
Ebiten now supports Nintendo Switchâ„¢!
It does relatively little, and that's the point! It works really well when you combine it with other packages; I find it plays very well with fogleman/gg, but your objectives may differ. The dev is very responsive and helpful (even if I don't understand their tweets).
-
Putting Text on an Image with Golang
That piece of code makes all the magic. With the help of Fogleman library manipulating images in Go is a breeze. Let's check what this is doing:
-
Looking for help on how to do image manipulation for Discord bots in GO
The base image package doesn't have text rendering functions. It would probably be easier to use a higher level library like https://github.com/fogleman/gg
d2-playground
- D2 Playground
- How to draw beautiful software architecture diagrams
-
The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
https://play.d2lang.com/?script=qlDQtVOo5AIEAAD__w%3D%3D&ske...
I was going to ask why you don't have a web version but you already do. I'm going to play with this more today.
Have you thought about an "auto compile"/live mode where it changes as you edit the text? I think this adds a level of intuitiveness that would help new users explore.
- D2 Declarative Diagramming playground: Turn diagram scripting language to images
- I wrote a tool in Go to write Sequence Diagrams in Go
-
Animated diagrams with D2, a text-to-diagram language written in Go
Wow that's a very detailed catch, thanks for reporting! Made an issue: https://github.com/terrastruct/d2-playground/issues/33
-
Org Novelist: A system for writing novel-length fiction using Emacs Org mode.
A video can be a lot of work, it is quite challenging to produce a satisfying result. Instead, I suggest you to draw (here is a nice online tool to do that. If you prefer plain text, you can use d2) a Flowchart to represent your workflow. For someone who wants to understand a use case, it will be much quicker to look at a diagram rather than read or watch a video. And it will be easier for you to produce it.
-
Extension for creating beautiful software architecture diagrams with text
We'll have our own API available for you to do this too. So you can make something on playground (https://play.d2lang.com) and then render the same way. E.g. https://github.com/alixander/test-render/blob/main/README.md
-
Is TypeScript actually worth It?
if you're talking about the playground, I did the initial version in a weekend or so (https://github.com/terrastruct/d2-playground), which includes building a WASM version of D2 (written in Go), putting a text editor, some UI stuff like dropdowns/menu, hooking it up together, layouts and responsiveness whatnot.
If you're talking about D2 language itself, ~2 devs over 3/4 of a year.
-
Discord plugin for generating diagrams on the fly through text
You can give it a spin to see if it's a fit for you here: https://play.d2lang.com
What are some alternatives?
canvas - Cairo in Go: vector to raster, SVG, PDF, EPS, WASM, OpenGL, Gio, etc.
text-to-diagram-site - Compare syntax, layouts, outputs between languages for generating diagrams with text.
img - A selection of image manipulation tools
d2-vscode - VSCode extension for D2 files.
go-opencv - Go bindings for OpenCV / 2.x API in gocv / 1.x API in opencv
d2-docs - Language documentation and blog for D2.
go-cairo - Go binding for the cairo graphics library
d2 - D2 is a modern diagram scripting language that turns text to diagrams.
go-nude - Nudity detection with Go.
proposal-type-annotations - ECMAScript proposal for type syntax that is erased - Stage 1
pigo - Fast face detection, pupil/eyes localization and facial landmark points detection library in pure Go.
ts-proto - An idiomatic protobuf generator for TypeScript