
A bunch of people were asking how I made the effect for the "renderaissance" style page I made previously. Here's a full walkthrough of creating that depth / dynamic lighting effect for the web. In…
The Hook
“Okay, here's a demo of how I made this effect that you saw in the previous example that I dropped. It's this cool lighting depth effect.”
Problem Agitation
“The first thing was I just did a simple prompt for this kind of linocut inspired painting style for a tarot card site. I got an initial design for it. I looked through a couple of these to see which one I wanted. But eventually I was like cool, I'm going to go with this one that has an actual card. I'm going to animate this card and give that its depth.”
Feature Teaser
“So the first step is actually isolating the card itself. So what I did is I did another prompt here to say show me only the card. I made a few designs for that, and then I said show me the background without any of the actual UI elements as well.”
Feature Teaser
“Once I had those elements, I was able to then go ahead and create all the other cards from that card source of truth. So I created three other cards as well as a card background. Once I had all of these designs, I just selected all of them, and then I right-clicked and said copy for agent.”
Product Reveal
“This basically created an interactive prompt for the agent to actually go and build this out. I then pasted that over into Fable, and then I created some additional rules here around hey, want you to use the backgrounds that are provided as well as the separate cards. I also want you to generate normal, roughness, and height maps for each of these.”
Feature Teaser
“which the little Diffu MCP that I'm using for this can do natively. You can install that here. But once that happened, the agent finished, it generated all the maps, it did all the lighting effects, it connected to the mouse, everything else.”
Call to Action
“And here was the result. So you actually see a pretty cool little interactive card example. It's crazy how good this effect is, but it's actually pretty simple to do. Go and check it out. It actually uses Fal.ai's Patina model under the hood, which is a really, really good model out there for actually separating out different maps from an image source of truth.”
Synthesizable in Remotion · key components of the interactive-card-depth-showcase template.
Simulates 3D card tilt and cursor-following specular light using normal and height map shaders.
Use Three.js Canvas inside Remotion with CustomShaderMaterial fed by normal/roughness textures and mouse coordinates.
Smoothly transitions view between infinite canvas node layouts and detailed prompt cards.
Animate canvas scale and transform translate using spring curves based on frame numbers.
Fades out current card, rotates, and brings in the next card from the deck on button click.
Interpolate opacity, rotateY, and scale on card change trigger frame.
Purpose. Capture interest with the final interactive visual effect.
Execution. Immediate mouse interaction showcasing depth reflection.
Purpose. Explain visual asset generation and node graph extraction.
Execution. Diffu canvas zoom into prompts and card outputs.
Purpose. Demonstrate automating the shader code and map generation via AI agent.
Execution. Typing structured agent prompt in Fable UI.
Purpose. Validate the final build and credit the underlying model.
Execution. Clicking through card deck with live interactive lighting.
Objective
Showcasing a 3D holographic trading card marketplace web feature.How the recipe adapts
Replace tarot artwork with futuristic sci-fi trading cards, swap the warm linocut palette for neon cyan and magenta, and apply the dynamic shader to simulate foil reflection.Scene durations (5 scenes, 102s)
Key Remotion components

Against all odds. Congrats @elonmusk and @SpaceX.

Unreal Engine 6 has been announced with Rocket League.

Trade 24/7 with a social feed and onchain signals.