Uploaded August 2019 | Updated September 2026, 2 hours ago
All done in Excel, using only formulae with the only use of macros made for the inputting of key commands (e.g. wasd etc) and to run the animated camera.
The video is sped up somewhat over what is achievable in the model (in particular, the final segment is obviously sped up by a lot). Don't forget, this is Excel! However, on my fairly old PC it updates once every 2 seconds, so isn't too bad considering!
The model can be found here: github.com/s0lly/Raytracer-In-Excel
Hope you enjoy!
Acknowledgements:
This model was inspired by "The Ray Tracer Challenge" book by Jamis Buck - a brilliant read! Not all the features of that book are included, of course - Excel can only handle so much!!
Music by Eric Skiff, song "All of Us" for the intro and "09 Come and Find Me - B mix" for the main sequence. (Available at EricSkiff.com/music)
All done in Excel, using only formulae with the only use of macros made for the inputting of key commands (e.g. wasd etc) and to run the animated camera.
The video is sped up somewhat over what is achievable in the model (in particular, the final segment is obviously sped up by a lot). Don't forget, this is Excel! However, on my fairly old PC it updates once every 2 seconds, so isn't too bad considering!
The model can be found here: github.com/s0lly/Raytracer-In-Excel
Hope you enjoy!
Acknowledgements:
This model was inspired by "The Ray Tracer Challenge" book by Jamis Buck - a brilliant read! Not all the features of that book are included, of course - Excel can only handle so much!!
Music by Eric Skiff, song "All of Us" for the intro and "09 Come and Find Me - B mix" for the main sequence. (Available at EricSkiff.com/music)





![2D Game Engine in C++: [3] Camera Rotation / Zooming
This video shows camera rotation and scaling.
The game now simply calls one function to draw sprites, where game objects rotation, scaling, and translation is taken into account as well as camera rotation, zoom, and location.
This should dramatically help coding up a wide array of 2D games, as a good chunk of graphics logic will already be allowed for.
Next, Ill look to draw sprites at different depths, to give a mock 3D effect to the drawing routine.
I will release all code on GitHub once Ive finalised the engine - and have nice looking code to boot!
Using the Chili Framework: http://wiki.planetchili.net/index.php... - thanks Chili! 2D Game Engine in C++: [3] Camera Rotation / Zooming](https://i.ytimg.com/vi/oP6FNbgRLHg/mqdefault.jpg)




