Voting in politics and in software applications isn't as simple as it may seem. Here I discuss designing some basic voting systems and analyze their intricacies, pros, and cons.
When autoplaying a queue of videos, a media-pool can be used to overcome browser restrictions related to auto-muting. Reusing video elements is also more performant, especially on mobile devices.
Visual editors usually allow resizing and rotation of elements. Applying both transforms can be a little tricky. This post explores an algorithm to implement this feature.
When to used a seeded pseudorandom number generator, and things to consider when you do.
A dive into graphics algorithms used in RoughJS - A graphics library that lets you draw in a sketchy, hand-drawn-like, style.
Explore how dithering can help adopt different color palettes, while maintaining the essence of the image.
Discovering basic algorithms to render lines, shapes, curves, and filling them.