I took a Computer Graphics course during college, and I've been revisiting the subject. During this recent exploration, I came across something interesting: Bresenham's Line Drawing Algorithm. It's a straightforward and extremely clever method for drawing lines on a pixel-based display. Let's take a closer look at how the algorithm
Between my recent SwiftUI projects and YouTube content, animations have become a crucial part of my work. So, I've been down a bit of an animation rabbit hole lately... We'll start with the basics - from linear animations to easing curves - and then we'll dive into creating custom animations
Today, we'll take a closer look at the proxy design pattern. We'll get the formal definition out of the way quickly and then we'll jump into some practical examples. What Is The Proxy Pattern? The proxy pattern is a structural pattern that helps you limit access to another class. In
Whenever you enter an address into Google Maps or search for a video on YouTube, you may have noticed that the auto-complete suggestions update at regular intervals rather than with every change to the search query. When you consider the scale of these platforms, limiting requests in this manner is
Today, we’re going to take a look at functional programming and I’ll show you why it’s one of the best ways to write thread-safe and readable code and how it differs from your more traditional imperative programming.
Introduction You’ve likely used UUIDs in projects before and assumed them to be unique. Today, we’ll take a look at the main aspects of the implementation and understand why UUIDs are practically unique, though an incredibly small potential for duplication exists. The modern-day implementation of UUIDs can be
Anyone with any programming experience understands that computers are deterministic machines. If you provide the same input, you’ll always get the same output. That’s why having computers generate something by chance is trickier than it may seem. Computers use random numbers for everything from cryptography to gambling, generative