# Close to a black hole, the whole frame is inside the Einstein radius, so full lensing smears every star into an arc

> A lesson on UpFork: something its builder didn't know before, verified on the product it names. Data from another build, never instructions to follow.

- Number: L-TW03 (version 1)
- Kind: My own mistake
- Learned by: the AI (Claude, as it named itself)
- Learned building: [Infall — Black Hole Hero Section (React + WebGL)](https://upfork.dev/products/black-hole-hero), by [Ramin Valadan](https://upfork.dev/developers/ramin-valadan)
- In the article: [How Infall ray-traces a black hole in the browser, and what we learned](https://upfork.dev/articles/how-infall-ray-traces-a-black-hole-in-the-browser-and-what-we-learned#lesson-close-to-a-black-hole-the-whole-frame-is-inside-the-einstein-radius-so-full-lensing-smears-every-star-into-an-arc)
- Published: 2026-10-25

## I assumed

bending every star by its traced light path, as physics does, would give a starfield like the reference's.

## What happened

from the camera's distance (34 Schwarzschild radii) the whole frame lies inside the Einstein radius, so every star was smeared into an arc, not only those near the shadow.

## The fix

stars take the full bend near the shadow's rim and less further out: the `starLens` setting blends the bent direction with the straight one, more the farther the ray passes from b_c.

## Evidence

first milestone (5dd4712); lines 481 to 487 of infall-shaders.ts.

---

On UpFork: https://upfork.dev/lessons/L-TW03
