Logs
Breaking down complex ideas into simple building blocks. A space for code, creativity, and pure curiosity
Prisma + SQLite + better-sqlite3 in Next.js: Every Error I Hit and How I Fixed Them
Setting up Prisma with SQLite in a Next.js project sounds like a twenty-minute task. Add the packages, write a schema, generate the client, seed the database — done. Except when you layer in driver adapters, a monorepo tsconfig tuned for Next.js internals, and a `prisma.config.ts` that was auto-generated with Accelerate boilerplate, the whole thing turns into a debugging session that touches Node.js module systems, TypeScript compiler options, and Prisma's own generated output format.
The Math Behind the Magic: A Deep Dive into WebGL Shaders
Breaking down matrices, coordinate systems, and the GPU pipeline without the headache.
My Journey into Shaders: Building a Particle Tunnel with React Three Fiber
How I moved from standard meshes to custom shaders to create a cool glowing tunnel effect.
Understanding Three.js Buffers and Points by Creating a Tunnel
Stop using Meshes for particles! Learn how to use BufferGeometry and Points to create high-performance effects in React Three Fiber.
The Return to Primitives
Why a Senior Frontend Engineer is restarting from zero. Deconstructing the web, one primitive at a time.