# Gradient Descent Turns Random 3D Meshes into Anamorphic Sculptures

Original title: Optimizing Anamorphic Sculptures

> Hacker News story 49657257 · language: en · submitted 2026-09-11
> Web version: https://zeli.app/story/49657257
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 19 · by [zbsc](<https://news.ycombinator.com/user?id=zbsc>) · 💬 0
[original](<https://tncardoso.com/blog/2026/09/optimizing-anamorphic-sculptures/>) · [HN discussion](<https://news.ycombinator.com/item?id=49657257>)

## Summary

Inspired by Jonty Hurwitz's anamorphic sculptures, I built a differentiable renderer that arranges random 3D meshes—cars, pigs, pigeons—so their silhouette forms a target image from one viewpoint. Using a soft rasterizer with annealed sigma, a loss combining IoU, spill, outline, and collision penalties, the system optimizes positions, rotations, and scales. It can even assemble different images for multiple camera angles, like a dog and a rabbit from the same set of objects.

## Key quote

> A large sigma is the renderer squinting. The silhouette is a blur, but a mesh far from where it should be still feels a pull. Shrinking opens the renderer's eyes and sharpens the edges.

---

## Cite

- Page: https://zeli.app/story/49657257
- Date: 2026-09-11
- Source: tncardoso.com (https://tncardoso.com/blog/2026/09/optimizing-anamorphic-sculptures/)
- Hacker News: https://news.ycombinator.com/item?id=49657257

## Other languages

- zh: https://zeli.app/zh/story/49657257 · markdown: https://zeli.app/zh/story/49657257.md
- ja: https://zeli.app/ja/story/49657257 · markdown: https://zeli.app/ja/story/49657257.md
- ko: https://zeli.app/ko/story/49657257 · markdown: https://zeli.app/ko/story/49657257.md
- de: https://zeli.app/de/story/49657257 · markdown: https://zeli.app/de/story/49657257.md
- es: https://zeli.app/es/story/49657257 · markdown: https://zeli.app/es/story/49657257.md
- ru: https://zeli.app/ru/story/49657257 · markdown: https://zeli.app/ru/story/49657257.md
