fogleman/primitive
View on GitHub ↗ ★ 13,575 Go
Reproducing images with geometric primitives.
42 mentions on Hacker News by 32 people: 4 stories, 38 comments · first 2016-09-15 · latest 2026-04-22
20082026
-
…basic shapes (triangles, ellipses, etc) by Fogleman [1] - but ofcourse this is different. [1]: https://github.com/fogleman/primitive
comment by aanet · 2026-04-22 · in Show HN: Algorithmic String Art, accessible to all -
…of the Vermeer portrait in the OP. [1]: https://github.com/kevin-hanselman/primitive-web-ui [2]: https://github.com/fogleman/primitive
comment by kvnhn · 2026-01-19 · in Iterative image reconstruction using random cubic bézier strokes -
From https://news.ycombinator.com/item?id=38377307#38400435 (2023) : > TIL about https://github.com/fogleman/primitive from "Comparison of raster-to-vector conversion software" https://en.wikipedia.org/wiki/Comparison_of_raster-to-vector…
comment by westurner · 2024-09-29 · in Ask HN: What is the best online Vectorizer (.Png to .Svg)? -
TIL about https://github.com/fogleman/primitive from "Comparison of raster-to-vector conversion software" https://en.wikipedia.org/wiki/Comparison_of_raster-to-vector... which does already list vtracer (2020) visioncortex/vtracer:…
comment by westurner · 2023-11-24 · in Vtracer: Next-Gen Raster-to-Vector Conversion -
Looks like it's made with https://github.com/fogleman/primitive
comment by chronogram · 2023-03-23 · in ThumbHash: A better compact image placeholder hash -
If you are not in for the maths, you might also like this: https://github.com/fogleman/primitive It redraws images with shape primitives and allows verctorization with a cool art style.
comment by asimops · 2022-03-03 · in Show HN: I made a WebGL-based app that traces images using circles -
▲ 2
Primitive Pictures – Reproducing images with geometric primitivesstory by pabs3 · 2021-09-21 · 1 comment
-
…that loses detail to the point where a human would notice. 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…
comment by ttyprintk · 2021-08-29 · in Experiment in evolving the smallest image file format -
…coincidentally also written in Go, which supports other shapes besides triangles as well. [0]: https://github.com/fogleman/primitive
comment by clusmore · 2021-04-22 · in Show HN: I built a tool to generate triangulated art from images -
…of the video, wrote a ruby script which runs over every image in a folder and calls primitive ( https://github.com/fogleman/primitive ) on each image. The final step is to recombine it into a single video, which I haven't done yet because…
comment by suby · 2020-12-20 · in Geometrize: Turn Images into Geometric Primitives -
Shoutout to Michael Fogleman's primitive[1] for likely inspiring this work. [1]: https://github.com/fogleman/primitive
comment by kevlar1818 · 2020-12-20 · in Geometrize: Turn Images into Geometric Primitives -
Sounds like https://github.com/fogleman/primitive but for video
comment by zcw100 · 2020-07-20 · in Video Vectorization -
https://github.com/fogleman/primitive is a favorite of mine.
comment by snakeboy · 2020-06-06 · in Genetic Drawing -
There's a pretty awesome project that does this with SVGs. https://pkg.go.dev/mod/github.com/fogleman/primitive https://primitive.lol/ I've used it in a project to generate vector thumbnails that are under 1KB that I can just base64 encode…
comment by sudhirj · 2020-02-20 · in BlurHash: Algorithm to generate compact representation of an image placeholder -
…some help maintaining it, I imagine plenty of fellow HN-ers (including me) would love to help. [1] https://github.com/fogleman/primitive/pulls?q=is%3Aopen+is%3...
comment by JoshuaJB · 2018-10-31 · in Primitive – recreate your photos with vector-based geometric primitives -
Indeed. I mentioned that in the README: https://github.com/fogleman/primitive#inspiration
comment by fogleman · 2018-10-31 · in Primitive – recreate your photos with vector-based geometric primitives -
The core of Primitive is open source, written in Go. https://github.com/fogleman/primitive Only the UI is closed source. It's written in Objective-C and basically shells out to the Go code.
comment by fogleman · 2018-10-31 · in Primitive – recreate your photos with vector-based geometric primitives -
…Schiffman's book, which is covered in a series of tutorials in the linked YouTube channel. [0] https://github.com/fogleman/primitive [1] https://www.youtube.com/channel/UCvjgXvBlbQiydffZU7m1_aw
comment by anonytrary · 2018-09-10 · in Generative Art Finds Its Prodigy -
This is officially the coolest project I've seen on HN since https://github.com/fogleman/primitive
comment by anonytrary · 2018-09-07 · in Medieval Fantasy City Generator -
…into a composition of 2D overlapping, translucent polygons. Output is available chiefly as an .svg https://github.com/fogleman/primitive Using this and images from a search engine, I made a calendar with animals. I could post it if…
comment by b0rsuk · 2018-08-28 · in Why Love Generative Art? -
Another option, if your images are simple enough, is to use https://github.com/fogleman/primitive to convert it to SVG. Might not be worth the effort though as the space savings could be too insignificant to matter for the artifacts…
comment by Adamantcheese · 2018-07-16 · in Image optimization decreased website's page weight by 62% -
▲ 6
Primative Pictures – Reproducing images with geometric primitivesstory by matthberg · 2018-06-03 · 0 comments
-
…like icons or logos. I usually just hand-optimize simple ones, then run them through svgo [2]. [0] https://github.com/fogleman/primitive [1] https://github.com/technopagan/sqip [2] https://github.com/jakearchibald/svgomg/blob/master/README.…
comment by watersb · 2017-11-27 · in Super Tiny Website Logos in SVG -
…my software in different ways! If this looks interesting to you, try it out: https://primitive.lol/ https://github.com/fogleman/primitive Also, I made a Twitter bot that posts samples every 30 minutes based on "interesting" Flickr photos…
comment by fogleman · 2017-11-14 · in Using SVG as image placeholders -
One other small filesize hack for pretty background images is to use primitive ( https://github.com/fogleman/primitive ) to make stylized SVGs. I use it for https://goodfeels.net for the hero header image.
comment by rthomas6 · 2017-10-03 · in Show HN: Bubbly – animated backgrounds in 662 bytes -
There's a lot of cool stuff on here. This project in particular is way neat. https://github.com/fogleman/primitive I think that project was posted to HN some time ago? Ah well, certainly worth another mention. It turned out really nicely!…
comment by mythrwy · 2017-05-30 · in My Portfolio -
there is no reason why a subsets of SVGs couldn't be stored as a bunch of triangles See https://github.com/fogleman/primitive for working SVG-as-triangles generation from bitmaps (or higher resolution/complexity SVG input).
comment by contingencies · 2017-05-08 · in Automating app assets with Inkscape -
Is it based on this https://github.com/fogleman/primitive ?
comment by wingerlang · 2017-04-11 · in Show HN: PRMTV – recreate photos with geometric primitives (iOS) -
I know it's all in CSS but the graphics look like those generated by https://github.com/fogleman/primitive
comment by charlieegan3 · 2017-04-05 · in In Pieces – A CSS-based exhibition celebrating evolutionary distinction -
See also https://github.com/fogleman/primitive
comment by fiatjaf · 2016-12-25 · in Show HN: ThreadTone – Halftone images made of thread -
https://github.com/fogleman/primitive
comment by adtac · 2016-11-23 · in ASK HN: I can't remember the name of this app -
…actually free software[1]. Maybe you should include a link somewhere on the page you linked? [1]: https://github.com/fogleman/primitive
comment by cyphar · 2016-11-16 · in Show HN: Primitive for macOS -
…here. It would be really cool if I could test this out. Edit: Found that the core is on github ( https://github.com/fogleman/primitive ). All you need is go to run it.
comment by mwambua · 2016-11-16 · in Show HN: Primitive for macOS -
https://github.com/fogleman/primitive
comment by fogleman · 2016-11-15 · in Show HN: Primitive for macOS -
Seems the core is OS on Github. So you can use it on the command line or write a GUI for it yourself: https://github.com/fogleman/primitive
comment by deepflame · 2016-11-15 · in Show HN: Primitive for macOS -
Explained here: https://github.com/fogleman/primitive#how-it-works-part-ii
comment by fogleman · 2016-11-15 · in Show HN: Primitive for macOS -
There is attribution on the GitHub repo. ;) https://github.com/fogleman/primitive#inspiration
comment by fogleman · 2016-11-15 · in Show HN: Primitive for macOS -
…just groups with <g></g> [0] https://github.com/globalcitizen/svglover [1] http://love2d.org/ [2] https://github.com/fogleman/primitive [3] https://news.ycombinator.com/item?id=12539109 [4] Make it work first, then make it work fast .
comment by contingencies · 2016-09-27 · in SVG has more potential -
…maxTemp, etc.) for those? Why did you currently end up choosing hill climbing over annealing, here: https://github.com/fogleman/primitive/blob/master/primitive/...
comment by bomdo · 2016-09-21 · in Show HN: Primitive Pictures -
The code already does that. ;) Perhaps you'd like a larger constraint: https://github.com/fogleman/primitive/blob/master/primitive/...
comment by fogleman · 2016-09-20 · in Show HN: Primitive Pictures -
▲ 894
Show HN: Primitive Picturesstory by fogleman · 2016-09-20 · 170 comments
-
▲ 3
Reproducing images with geometric primitivesstory by mikecarlton · 2016-09-15 · 0 comments