Skip to content

Proof of concept of efficiently implementing ray casting on a modest system such as an Arduino board, using techinques such as fixed-point arithmetic.

Notifications You must be signed in to change notification settings

DanielWhite94/ArduinoRayCaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This project is a proof of concept of how one might implement ray casting efficiently on a modest system such as an Arduino board. Ray casting is already very fast, but we also use fixed-point arithmetic to avoid slow emulated floating point (as the Atmega2560 and others do not have FPUs).

For now the makefile targets a standard PC, not an Arduino, to ease development. To make this possible there is a wrapper (see the sdl directory) which provides the same interface one would have using the Arduino EsploraTFT library.

Screenshots

Screenshot of Arduino Ray Casting

Screenshot of Arduino Ray Casting

Screenshot of Arduino Ray Casting

Compiling and Using

To build use the included Makefile - the produced executable is called main. Once running one can use the arrow keys to move around.

About

Proof of concept of efficiently implementing ray casting on a modest system such as an Arduino board, using techinques such as fixed-point arithmetic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published