Quantcast
Channel: Small Basic
Viewing all articles
Browse latest Browse all 669

Light Beam Physics Challenge - Small Basic

$
0
0

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: http://smallbasic.com/smallbasic.com/program/?LMB722

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

 

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

 

What do you think? Have you tried it?

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

Thanks!

   - Ninja Ed


Viewing all articles
Browse latest Browse all 669

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>