Freigeben über


Light Beam Physics Challenge - Small Basic

Make sure you check out LitDev's January challenges.

Here's more info about his Physics Challenge: Light Beam!

Physics Challenge

Write a program to reflect a light beam off a rotated surface.

Further challenge - make a game where the user must rotate the surfaces to get the beam to bounce off several surfaces and hit a target.

 

Zock took a crack at solving it: https://smallbasic.com/smallbasic.com/program/?LMB722

Use the up/down arrows to change the angle on the reflector.

 

Math Man also made this version: https://smallbasic.com/smallbasic.com/program/?XKS442 

 

What do you think? Have you tried it?

And be sure to check out the forum thread: https://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/1be6e691-9942-4b5f-a1a5-47bd3fa14862

Thanks!

   - Ninja Ed

Comments