reflexio
reflexio copied to clipboard
A web game based on reflection
Can be fixed easily since the coordinates need to be modified by a bit.
Added some simple functions to do repetitive things like creating asteroids. All functionality tested in browser to insure everything still works, no stray console errors.
The current reflection algorithm is a pure brute force. The ray is traced until it hits a mirror, and then the angle after reflection is calculated using inverse trigonometric functions....
This is a very simple enhancement. You can look up `levels.js` and add more levels there. Make sure though, that the level is solvable and the intended solution is the...
Added a new level.
I change color border canvas, in Blue Space ;D . Great project !