frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Iterative image reconstruction using random cubic bézier strokes

https://tangled.org/luthenwald.tngl.sh/splined
31•luthenwald•4d ago

Comments

kvnhn•42m ago
I made a simple web UI[1] for generating images like this. It uses a Go library by Michael Fogleman[2] for all the heavy lifting—hat’s off to him.

For Bézier curves in particular, iteratively constraining the search around initial matches seems key to retaining detail (see the “rep” argument in Fogleman’s work), for example in the eyes of the Vermeer portrait in the OP.

[1]: https://github.com/kevin-hanselman/primitive-web-ui

[2]: https://github.com/fogleman/primitive

behnamoh•40m ago
The project references Geometrize: https://github.com/Tw1ddle/geometrize and I find both insanely cool!
vessenes•8m ago
Those are sort of like 2D splats - if only they'd thought to make it all differentiable!
Sharlin•40m ago
Back in the 00s or early 10s a friend and I played with the idea of using genetic programming and random line segments to approximate images (ie. maintain a population of candidates, take the best n percent, "breed" them to create the next generation, add some "mutations", repeat). This implementation seems to use a basic hill-climbing algorithm to reach a local optimum – something like simulated annealing might improve both quality and speed of convergence.
bArray•39m ago
I wrote something similar years ago, which would instead convert an image into a mesh of polygons. The idea was to have a vector low-size SVG that could be used as an image placeholder or background for web pages.

I think I lost the code, but it was initially a genetic algorithm that randomly placed overlapping polygons, but the later improved method had connected polygons that shared points - which was far more computationally cheaper.

Another method I explored was to compose a representative image via a two-colour binarised bitmap, which provided a pixelated version of the image as a placeholder.

The core idea is that you drop the image as a small Data URI straight into the page, and then fetch the high-detail version later. From the user's perspective, they are getting a very usable web page early on, even on poor connections.

seg_lol•9m ago
For historic reference, back in 2008, Roger https://www.rogeralsing.com/2008/12/07/genetic-programming-e... kicked this off by attempting to reproduce the Mona Lisa using evolved polygons.

https://news.ycombinator.com/item?id=389727

CSS Web Components for marketing sites (2024)

https://hawkticehurst.com/2024/11/css-web-components-for-marketing-sites/
40•zigzag312•2h ago•16 comments

The Microstructure of Wealth Transfer in Prediction Markets

https://www.jbecker.dev/research/prediction-market-microstructure
45•jonbecker•1h ago•21 comments

Apple testing new App Store design that blurs the line between ads and results

https://9to5mac.com/2026/01/16/iphone-apple-app-store-search-results-ads-new-design/
98•ksec•1h ago•45 comments

GLM-4.7-Flash

https://huggingface.co/zai-org/GLM-4.7-Flash
197•scrlk•2h ago•51 comments

Show HN: Pipenet – A Modern Alternative to Localtunnel

https://pipenet.dev/
19•punkpeye•1h ago•4 comments

Iterative image reconstruction using random cubic bézier strokes

https://tangled.org/luthenwald.tngl.sh/splined
31•luthenwald•4d ago•6 comments

Folding NASA Experience into an Origamist's Toolkit

https://spinoff.nasa.gov/Folding_NASA_Experience_into_an_Origamist%E2%80%99s_Toolkit
47•andsoitis•2d ago•4 comments

A decentralized peer-to-peer messaging application that operates over Bluetooth

https://bitchat.free/
451•no_creativity_•10h ago•263 comments

Radboud University selects Fairphone as standard smartphone for employees

https://www.ru.nl/en/staff/news/radboud-university-selects-fairphone-as-standard-smartphone-for-e...
421•ardentsword•9h ago•192 comments

Luxury Yacht is a desktop app for managing Kubernetes clusters

https://github.com/luxury-yacht/app
38•mooreds•5d ago•11 comments

Cows Can Use Sophisticated Tools

https://nautil.us/the-far-side-had-it-all-wrong-cows-really-can-use-sophisticated-tools-1262026/
19•Tomte•1h ago•3 comments

Dead Internet Theory

https://kudmitry.com/articles/dead-internet-theory/
569•skwee357•21h ago•621 comments

Robust Conditional 3D Shape Generation from Casual Captures

https://facebookresearch.github.io/ShapeR/
24•lastdong•6h ago•1 comments

Ask HN: COBOL devs, how are AI coding affecting your work?

115•zkid18•4h ago•123 comments

Raccoons break into liquor stores, scale skyscrapers and pick locks

https://theconversation.com/raccoons-break-into-liquor-stores-scale-skyscrapers-and-pick-locks-st...
11•pseudolus•42m ago•1 comments

Nepal's Mountainside Teahouses Elevate the Experience for Trekkers

https://www.smithsonianmag.com/travel/nepal-mountainside-teahouses-elevate-experience-trekkers-he...
86•bookofjoe•4d ago•35 comments

"Anyone else out there vibe circuit-building?"

https://twitter.com/beneater/status/2012988790709928305
84•thetrustworthy•2h ago•56 comments

Flux 2 Klein pure C inference

https://github.com/antirez/flux2.c
399•antirez•23h ago•130 comments

The Code-Only Agent

https://rijnard.com/blog/the-code-only-agent
130•emersonmacro•15h ago•58 comments

Two Concepts of Intelligence

https://cacm.acm.org/blogcacm/two-concepts-of-intelligence/
39•1970-01-01•5d ago•48 comments

I set all 376 Vim options and I'm still a fool

https://evanhahn.com/i-set-all-376-vim-options-and-im-still-a-fool/
53•todsacerdoti•2d ago•17 comments

Self Sanitizing Door Handle

https://www.jamesdysonaward.org/en-US/2019/project/self-sanitizing-door-handle/
37•rendaw•4d ago•43 comments

MTOTP: Wouldn't it be nice if you were the 2FA device?

https://github.com/VBranimir/mTOTP/tree/develop
52•brna-2•9h ago•76 comments

Nvidia contacted Anna's Archive to access books

https://torrentfreak.com/nvidia-contacted-annas-archive-to-secure-access-to-millions-of-pirated-b...
120•antonmks•6h ago•82 comments

Provide agents with automated feedback

https://banay.me/dont-waste-your-backpressure/
159•ghuntley•2d ago•80 comments

Fluid Gears Rotate Without Teeth

https://phys.org/news/2026-01-fluid-gears-rotate-teeth-mechanical.html
24•vlachen•5d ago•43 comments

What it's like to be banned from the US for fighting online hate

https://www.technologyreview.com/2026/01/19/1131384/what-its-like-to-be-banned-from-the-us-for-fi...
41•HotGarbage•57m ago•11 comments

AVX-512: First Impressions on Performance and Programmability

https://shihab-shahriar.github.io//blog/2026/AVX-512-First-Impressions-on-Performance-and-Program...
118•shihab•5d ago•47 comments

Wikipedia: WikiProject AI Cleanup

https://en.wikipedia.org/wiki/Wikipedia:WikiProject_AI_Cleanup
193•thinkingemote•7h ago•77 comments

American importers and consumers bear the cost of 2025 tariffs: analysis

https://www.kielinstitut.de/publications/americas-own-goal-who-pays-the-tariffs-19398/
566•47282847•2h ago•472 comments