RGB to HSV & HSV to RGB Color Conversions


Rainbows seem to be pretty popular lately, so I thought I’d share this.

While working on a graphics assignment for school, I decided I wanted my lights to cycle through the full spectrum of colors. The problem was doing so while using RGB, since the loop can get a bit messy to achieve the effect. That’s when I decided to make an RGB to HSV converter, as well as an HSV to RGB converter. For those of you who don’t know, RGB and HSV are just two different ways of representing a color as a collection of three numbers. RGB stands for Red Channel, Green Channel and Blue Channel, while HSV stands for Hue, Saturation and Brightness (V is used instead of B to avoid confusion with Blue). Below is my implementation, which is the classical one with a slight performance increase trick that I found. I will provide all the links to my resources below.

Read More


Template Metaprogramming in C++


Recently, I wrote an Introspection system for C++ with the aid of Randy Gaul’s Blog. There are many ways to achieve this in C++, but the one used by Randy was through Template Metaprogramming. So in order for me to fully understand his implementation, I had to do some research on the subject. And I fell in love with it!

I decided to write a series of posts where I explain what template metaprogramming is, some good reference material to start learning it and then just post some fun programs I’ve made with it.

Read More

This time, INK has been Greenlit!


Once again, thank you for all the support! For the second time, I’ve been part of a game that got Greenlit. If you don’t know much about INK yet, here’s a bit of background:

INK was created by Zack Bell as a late submission to Ludum Dare 32, but quickly turned into a small side project that he worked on for three weeks and then uploaded on itch.io for a couple of bucks. He also uploaded the source code to the GameMaker Marketplace, which is something he has been doing as a way to teach the community about game development. Here are some links to both of those places where you can find INK:



About three weeks ago, Zack talked to me and asked me if I could put INK on Greenlight, since I already have the pass from SUPER III’s campaign. I agreed and also told him I’d make a trailer for the game, in order to improve his chances of getting Greenlit, as well as organized the images and description for the Greenlight page, since I already had experience with it. Well, INK got Greenlit in only 19 days! This time around it was slightly easier for a couple of reasons: Zack’s community is a lot bigger now and the number of votes needed to get Greenlit has decreased significantly. Let’s show some numbers and contrast them with SUPER III’s numbers.

Read More