Skip to content

Instantly share code, notes, and snippets.

View mraza176's full-sized avatar
:electron:
Focusing

Muhammad Raza mraza176

:electron:
Focusing
View GitHub Profile
@byteab
byteab / BurningPhotoCard.tsx
Created August 3, 2026 16:27
Realistic burning paper effect. built with react-native
/**
* <BurningPhotoCard /> — a photo card printed on a sheet of paper that catches
* fire and burns away when you press Delete.
*
* Everything is in this one file: the WGSL shaders, the WebGPU burn simulation,
* the procedural paper grain, the Skia rasterizer that prints the card, and the
* React component. Drop it in your project and import it.
*
* ---------------------------------------------------------------------------
* INSTALL