
An exponential probability queue
An implementation of a discrete item probability queue in C#. I wrote this to implement rarity based distribution of items in my game Rabanaz.

An implementation of a discrete item probability queue in C#. I wrote this to implement rarity based distribution of items in my game Rabanaz.

Now that we’ve drawn beziers and arcs there’s only one piece missing in the vector API. We need to calculate the bounds of the curve:

I needed to draw ellipses and arcs. A vector API just wouldn’t be complete without them. Though opinions seem to differ as Apple’s Core Graphics

An endless tunnel is the centerpiece of my game Radial Blitz. Flying smoothly through this tunnel was important to me. That required both a smooth

I suddenly had a desire to calculate square roots. It’s been one of those things that just sits at the back of my mind lingering.