Demo Code #1 – Vector Graphics
I’m currently working on a vector graphics library; this will eventually include fast implementations of line, circle and triangle rendering. There will be options to render on the standard Spectrum screen (with it’s horrid layout) and to a more sensibly laid out offscreen bitmap. I’m also going to add filled circle and triangle with optional texture shading (an 8×8 graphic). I’ve just reworked a version of Bresenhams Incremental Line Algorithm in Z80, working in one …