Re: Gen patch-a-day

Forums > Gen > Gen patch-a-day
February 9, 2012 | 12:28 am

Hey Everyone,

This is my first real gen patch and it was a lot of fun to make.

This patch implements the (simplified) equation used in jit.rota in the jit.gen environment. I use jit.rota all the time and was excited to see how a gen version would function. There are still some things that could stand a little fleshing out to prevent or smooth pixelation and add different bound modes, but it is pretty functional. I am also working on a version that implements the full equation with all the extra parameters, but this is a good starting point that I hope is less intimidating.

I included the equation from jit.rota inside the jit.gen patch so you can see how it was implemented.



PS: I fixed a glitch, so if you grabbed this right when it went up, this is an updated version.