QNICE-FPGA icon indicating copy to clipboard operation
QNICE-FPGA copied to clipboard

Spinning Globe Demo

Open sy2002 opened this issue 5 years ago • 1 comments

Hi Michael, you as a mathematican might be "easily" able to create a spinning globe demo.

Use this map here, scale it down to 320x200:

grafik

Then do a real-time projection on a sphere and let the sphere rotate.

Might be a very nice demo for the upcoming 320x200 mode.

If you want to do it, just keep it (I assigned it to you for your math skills ;-)). Otherwise, assign it to me :-)

sy2002 avatar Sep 07 '20 23:09 sy2002

@MJoergen The source code here is not helpful but they also have a web emulator (similar to ours), so just click into the image and wait until the emulator loads to see the oldschool rotating globe demo effect that I am talking about:

https://tic80.com/play?cart=487

But maybe we can at least steal the algorithm (mercartor projection?) here: https://github.com/jahodfra/tic80-earth

And here is a 18 year old basic source code (for windows, but the algorithm is there) that is also doing the magic in mfd.zip below.

grafik

mfd.zip

sy2002 avatar Sep 08 '20 23:09 sy2002