97 articles

📰 Dev.to · Shaishav Patel

Articles from Dev.to · Shaishav Patel · 97 articles · Updated every 3 hours · View all reads

All ⚡ AI Lessons (10350) ArXiv cs.AIDev.to · FORUM WEBDev.to AIForbes InnovationOpenAI NewsHugging Face Blog
Building a Lorem Ipsum Generator in React — No Library, Custom Word Pool, Paragraphs/Sentences/Words
Dev.to · Shaishav Patel 6d ago
Building a Lorem Ipsum Generator in React — No Library, Custom Word Pool, Paragraphs/Sentences/Words
Most Lorem Ipsum generators use an npm package that's overkill for what is essentially random word...
Building a Typing Speed Test in React — WPM Calculation, Real-Time Char Diff, and Accuracy
Dev.to · Shaishav Patel 1w ago
Building a Typing Speed Test in React — WPM Calculation, Real-Time Char Diff, and Accuracy
A typing speed test has a few interesting implementation details: the WPM formula, real-time...
Building a Memory Card Game in React — Flip Animation, Match Detection, and Timer
Dev.to · Shaishav Patel 1w ago
Building a Memory Card Game in React — Flip Animation, Match Detection, and Timer
A memory card game looks simple but has several interesting problems: preventing double-flips...
Building a Browser-Based Image Watermark Tool with Canvas API — Text Overlay, Opacity, Auto-Shadow
Dev.to · Shaishav Patel 1w ago
Building a Browser-Based Image Watermark Tool with Canvas API — Text Overlay, Opacity, Auto-Shadow
Adding a text watermark to an image is 20 lines of Canvas API. Making it look good — opacity,...
Building 5 Classic Browser Games in React — Canvas RAF, Pointer Events Drag & Drop, No Game Libraries
Dev.to · Shaishav Patel 1w ago
Building 5 Classic Browser Games in React — Canvas RAF, Pointer Events Drag & Drop, No Game Libraries
Five games. Five different architectural patterns. All client-side React, no game libraries, no...
Building a Sudoku Game in React — Backtracking Solver, Puzzle Generation, Notes Mode, and Hints
Dev.to · Shaishav Patel 1w ago
Building a Sudoku Game in React — Backtracking Solver, Puzzle Generation, Notes Mode, and Hints
Sudoku has more implementation depth than it looks. You need a solver (backtracking), a puzzle...
Building Brick Breaker in React — Ball Physics, AABB Collision, and Power-Ups on Canvas
Dev.to · Shaishav Patel 1w ago
Building Brick Breaker in React — Ball Physics, AABB Collision, and Power-Ups on Canvas
Brick Breaker is the canonical "how do you handle collision?" game. The ball hits a brick, the brick...
Building Snake in React with Canvas + requestAnimationFrame — All State in Refs, No Stale Closures
Dev.to · Shaishav Patel 1w ago
Building Snake in React with Canvas + requestAnimationFrame — All State in Refs, No Stale Closures
Snake is a deceptively simple game to describe and surprisingly tricky to implement correctly in...
Converting Images to WebP in the Browser with Canvas API — Quality Control, Format Detection, No Server
Dev.to · Shaishav Patel 1w ago
Converting Images to WebP in the Browser with Canvas API — Quality Control, Format Detection, No Server
WebP images are 25–35% smaller than JPEG and up to 80% smaller than PNG at equivalent visual quality....
Server-Side PDF Encryption with pikepdf in a Next.js App (No qpdf Required)
Dev.to · Shaishav Patel 1w ago
Server-Side PDF Encryption with pikepdf in a Next.js App (No qpdf Required)
Most of our tools at Ultimate Tools run entirely in the browser — pdf-lib for merging, Canvas API for...
Building a Markdown to HTML Converter with Live Preview in Next.js
Dev.to · Shaishav Patel 1w ago
Building a Markdown to HTML Converter with Live Preview in Next.js
We built a browser-based Markdown to HTML converter for Ultimate Tools that updates in real time as...
Write Markdown, Get HTML — Here's How to Convert Between Them Instantly
Dev.to · Shaishav Patel 1w ago
Write Markdown, Get HTML — Here's How to Convert Between Them Instantly
You wrote your README in Markdown. Now someone needs it in HTML. Or you drafted a blog post in...
Convert HTML to PNG in the Browser Using SVG foreignObject (No Library)
Dev.to · Shaishav Patel 1w ago
Convert HTML to PNG in the Browser Using SVG foreignObject (No Library)
There are plenty of libraries for converting HTML to an image — html2canvas, dom-to-image,...
How to Turn Any HTML Into a Shareable Image (OG, Twitter Card, Story)
Dev.to · Shaishav Patel 1w ago
How to Turn Any HTML Into a Shareable Image (OG, Twitter Card, Story)
You need an OG image. Or a Twitter card. Or a banner for your blog post. You open Figma. Or Canva....
9 Free Image Tools That Run Entirely in Your Browser (No Upload, No Signup)
Dev.to · Shaishav Patel 1w ago
9 Free Image Tools That Run Entirely in Your Browser (No Upload, No Signup)
You just need to resize a photo. Maybe crop a screenshot. Or slap a watermark on a batch of product...
Removing White Backgrounds from PDFs: Building a PDF to Transparent PNG Tool with PDF.js and Canvas
Dev.to · Shaishav Patel 1w ago
Removing White Backgrounds from PDFs: Building a PDF to Transparent PNG Tool with PDF.js and Canvas
PDF files do not support transparency. Every PDF renderer — browsers, Acrobat, Preview — paints...
What Is Base64 Encoding and Why Do Developers Use It Everywhere
Dev.to · Shaishav Patel 1w ago
What Is Base64 Encoding and Why Do Developers Use It Everywhere
You have probably seen strings like this in code, APIs, or data URLs: SGVsbG8gV29ybGQ= ...
Building a Client-Side JSON Formatter and Validator in Next.js
Dev.to · Shaishav Patel 1w ago
Building a Client-Side JSON Formatter and Validator in Next.js
JSON tooling is one of those things every developer reaches for constantly — debugging API responses,...
Stop Squinting at Minified JSON — Here's How to Format It Instantly
Dev.to · Shaishav Patel 1w ago
Stop Squinting at Minified JSON — Here's How to Format It Instantly
You got a JSON response from an API. It looks like...
Stop Paying $50/Month for Dynamic QR Codes
Dev.to · Shaishav Patel 1w ago
Stop Paying $50/Month for Dynamic QR Codes
You've probably seen QR codes everywhere — restaurant menus, business cards, event posters, product...