Skip to content

VsKatshuma/Island-Raycaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Island-Raycaster

I made a raycaster in JavaScript. Single thread and no GPU. Never again.

There is a word in Finnish called auringonsilta. It refers to the elongated reflection of the Sun on the surface of water. "Sun's bridge" would be the literal translation, but there is no English expression that carries the exact same meaning. This expression inspired me to create this pet project of mine. Island raycaster draws a full image using only raycasting, utilizing no external libraries or matrix transformations. It was created to look cool and to explore the graphical limitations of the HTML5 canvas element. Maybe an optimized version could become a screensaver in the future.

To run the project, put the HTML and JavaScript files in the same folder and open the HTML file in any browser. I might set up a server running this 24/7 one day, but no promises.

The project is still largely unfinished, but the current version works as a proof of concept, rotating just under half a million pixels on the screen.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published