shapeme
Primitive Pictures
shapeme | Primitive Pictures | |
---|---|---|
1 | 15 | |
383 | 12,343 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | 8 months ago | |
C | Go | |
BSD 2-clause "Simplified" License | MIT License |
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.
shapeme
-
Show HN: I built a tool to generate triangulated art from images
This reminds me of a project I found by Antirez (the creator of Redis) recently called shapeme: https://github.com/antirez/shapeme - which uses simulated annealing: https://en.wikipedia.org/wiki/Simulated_annealing to approximate an image using triangles. It took me down a really interesting rabbit hole: "The name of the algorithm comes from annealing in metallurgy, a technique involving heating and controlled cooling of a material to increase the size of its crystals and reduce their defects."
I thought it was really interesting that a useful algorithm like this was created and possibly influenced by a natural process. I wonder if this repo uses the same type of algorithm?
Primitive Pictures
-
Vtracer: Next-Gen Raster-to-Vector Conversion
TIL about https://github.com/fogleman/primitive from https://en.m.wikipedia.org/wiki/Comparison_of_raster-to-vect...
-
Forest
Looks great! I've been thinking of having my own attempt at something like this ever since I saw a similar idea at primitive.lol
-
A better compact image placeholder hash
Looks like it's made with https://github.com/fogleman/primitive
-
Turn an image into blocky colour shapes
If you're looking for a more artistic arrangement of coloured blocks, and you've got some skills (or a Mac), there is this one application that's fun to play with. But I'm sure there are other ways.
-
Do you know any stories of successful devs that struggled in the beginning?
Some examples off the top of my head (not game-dev specific) are https://www.michaelfogleman.com/ (creator of https://primitive.lol/), Marco Arment (https://marco.org/ - Overcast), or Pieter Levels (sadly as I write this I found that his blog seems to have been taken down and just redirects to his twitter https://twitter.com/levelsio?ref=levels.io - but still has a laundry list of projects old and new in his twitter bio)
-
How do we cross-compile GitHub repositories nowadays without go get?
Any ideas on how I could simply cross-compile a non-module GitHub repository to three different architectures with predictable filenames? I wouldn't mind setting up a go.mod file, the problem is I would like to compile the executable in the github.com/fogleman/primitive repository, not my own code.
- Other ways to direct my plotter
- Primitive Pictures – Reproducing images with geometric primitives
-
Experiment in evolving the smallest image file format
Consider an SVG from [Primitive](https://github.com/fogleman/primitive) and a mostly-transparent overlay containing the diff against the original image. Tuning Primitive is not entirely deterministic (like your algorithm) and I think a human interface for the front-end would allow a few knobs to erase parts of the diff in order to shrink the detail imperceptively. Seems like a good opportunity for a contest :)
-
Combine neural painting with deepbrush for 100% realistic computer-made painting?
I think stroke-based painting methods like these are neat: https://github.com/jiupinjia/stylized-neural-painting https://github.com/fogleman/primitive
What are some alternatives?
sqip - "SQIP" (pronounced \skwɪb\ like the non-magical folk of magical descent) is a SVG-based LQIP technique.
imaginary - Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
triangula - Generate high-quality triangulated and polygonal art from images.
mpo - JPEG-MPO Decoder / Converter Library and CLI Tool
triangle - Convert images to computer generated art using delaunay triangulation.
svgo - Go Language Library for SVG generation
gg - Go Graphics - 2D rendering in Go with a simple API.
gltf - :eyeglasses: Go library for encoding glTF 2.0 files
imaging - Imaging is a simple image processing package for Go
pt - A path tracer written in Go.
resize - Pure golang image resizing
goimagehash - Go Perceptual image hashing package