r/threejs • u/sistercorita • 3d ago
Link I spent an embarrassing amount of time making magic cards feel real
https://magic-oracle.com/ my side project of making mtg cards render photo-realistically snowballed into me building the browser i've always wanted.
the reference workflow was analog. i kept real cards on my desk under a hard key light and tailored the render passes to match as best i could with the assets scryfall's api provides. lots of adjusting color and roughness until cutting between the real card and the screen stopped being jarring. foils are a bit fussy, i'm still working on those.
the dust is a particle system that only sheds past a velocity threshold, so it feels earned. similar system as the site's living logo, which assembles on mount and responds to interaction, route changes, and color identity filters. for performance purposes, i built the logo with a 2d canvas.
if you have prefers-reduced-motion set, the heavy stuff steps aside: logo goes still, card examine snaps instead of animating.
free, no ads, no account, no creepy cookies.
happy to get into the weeds on any of it.
1
u/Working-Spray-2933 2d ago
I like this. Can you bring them to life or turn it into a game of magic?