Elektrine lite

← Feed

@NickT6630@mastodon.scot

Post #2107463

2026-05-06 12:04 UTC

@gilesgoat yes.. I used fixed point arithmetic and sine and cosine. The lines are drawn between the X, Y, Z coordinates using the Bresenham line algorithm. This video was a huge help as I have not tried to do this before. https://youtu.be/xADbvfVs6Mg?si=gOCA8HGLUCpOA8lF

Replies (1)

  • @gilesgoat@toot.wales 2026-05-06 12:07

    @NickT6630 I'll watch the video sometime later on, just one more question, how many bits you needed to get that result ? I mean are 8.8 ( 16 bits, which means you need an intermediate 32 bits for multiplication ) sufficient for that ? I never tried yet ..

    Open ##2107464