Aiming at 3d moving targets

Looking at the previous posts algorithm I realized that as it was time and vector dependent it should be very easy to get it working in 3d, and indeed it was very easy! you can grab the code for it here….

Published
Categorised as raylib

Aiming at moving targets…

I ended up during my research finding quite a number of different articles on this problem, however in the main they boiled down to basically the same maths with variations. I have to be honest quadratic equations are a little beyond me, and unsurprisingly I wasn’t able to find a decent explanation of the (mathematical)…

Published
Categorised as raylib

Reference counting with C

For the purposes of this post, a very simple scenario is going to be considered. Given a Model structure that holds a pointer to a Mesh structure, the issue to be addressed is to whether or not there are references to a particular Mesh. Once all Models that reference a Mesh have been freed we…

ULX3S – Z80 redux!

While originally waiting for my board to arrive I found and got a Z80 soft core working (in simulation) I was a little disappointed that tri-state logic seems to cause issues with yosys (I think that might be what was causing the logic “loops” later down the toolchain anyhow). Having recently gotten around to soldering…

ULX3S (ECP5 FPGA) first look.

I’ve been wanting to try project Trellis out for a little while now, I was impressed with the open source toolchain for the ICE40, however the ECP5 has everyones favourite feature (MOAR!) it’s basically bigger and faster – what’s not too love. There is a slight issue with the current state of the toolchain, but…