👋🏽 Hi, I'm Preet. I write code for a living, and for fun. I focus mostly on the fun parts on this website. Here are some of my recent blog posts 👇

Need for Seed: Taming Randomness in a Pseudorandom World
When to used a seeded pseudorandom number generator, and things to consider you do.
How to emulate hand-drawn shapes / Algorithms behind RoughJS
A dive into graphics algorithms used in RoughJS.
Reducing Colors In An Image ⇢ Dithering
Explore how dithering can help adopt different color palettes, while maintaining the essence of the image.
Basic rasterization / Draw with emojis
Discovering basic algorithms to render lines, shapes, curves, and filling them.
Wired-Elements 2.0
What's new in 2.0 release of wired-elements - Common UI Elements with a sketchy hand-drawn look.

And sometimes I make things. Here are some recent creations 👇