Skip to content

domasx2/mrpas-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

mrpas-js

This is a javascript implementation of Mingo's Restrictive Precise Angle Shadowcasting algorithm. This algorithm can be used to calculate field of vision in 2d games. It is particularily useful for roguelikes, dugenon crawlers and similar.

Actual algorithm code is a port Python version by Dominik Marczuk:
https://github.com/initrl/MRPAS-Python Which is itself a port of PHP version, which I am unable to locate at the moment.

An explanation of the algorithm:
http://roguebasin.roguelikedevelopment.org/index.php?title=Restrictive_Precise_Angle_Shadowcasting

Live demo

http://domasx2.github.com/mrpas-js/

License

Public Domain?

About

a javascript port of MRPAS field of view algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published