Point Cloud Muscle Map with Focus
About 45,000 dots form a muscle figure whose brightness shows training volume; tapping a muscle or list row zooms in and highlights it, and dragging sideways spins the body to front or back. Rendered with Skia, the exercise list crossfades below.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "point-cloud-muscle-map-focus" to this project. The full source is attached at the end of this prompt. Put the files under components/point-cloud-muscle-map-focus/, install the listed dependencies with `npx expo install`, and render it on a route I can open. Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply. === Source files are attached here for paid plans ===
Details
- Platforms
- iOS, Android
- Requires
- Expo SDK 54+
- Access
- Pro
- Updated
- 20 Nov 2026
- License
- Unlimited commercial projects
- Original design
- @ayaneshu_ on X
Are you the designer? Ask us to change or remove this.
Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs
What it does
A dark fitness statistics screen showing an anatomical figure made of about forty-five thousand pale violet dots. Dot brightness maps training volume, so the shoulders and chest glow most and a neglected group shows in dim orange. Tapping a muscle on the body or a group in the list zooms the camera to that group. The group lights up with a violet halo, the rest of the body fades to gray, the list cross-fades to that group's exercise breakdown, and the Front and Back switch is replaced by a collapse button. Tapping again, or the collapse button, zooms back out. Dragging horizontally spins the body, which snaps to front or back on release. Each list row has a name, a set count and a strip of tick marks, and a week, month or year selector changes the numbers.
How it's built
The cloud is drawn by a small WebGL1 point-sprite renderer running in an expo-gl view, with points kept at a fixed on-screen size so the body reads as a surface until zoomed in. Point positions and muscle labels come from a bundled data module built from an anatomical 3D model. A shared core holds the state machine, layout and timings. The camera uses two chained first-order smoothers, and rotation snapping follows a critically damped spring. The list, buttons and tick marks use react-native-svg and views, with PanResponder for taps and drags and a requestAnimationFrame loop.
Good for
- A fitness or physio app that shows training load on a body map
- Any filter that works from either an illustration or a list
- A dense data cloud with tap-to-focus camera moves
Dependencies
expo-glreact-native-svgexpo-fontreact-native