Liberty BASIC Community Forum
« Winter fun 2016 Light Table »

Welcome Guest. Please Login or Register.
Oct 23rd, 2017, 5:33pm


Rules|Home|Help|Search|Recent Posts|Notification


« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 sticky  Author  Topic: Winter fun 2016 Light Table  (Read 211 times)
Rod
Global Moderator
ImageImageImageImageImage


member is offline

Avatar

Graphics = goosebumps!


PM

Gender: Male
Posts: 5546
xx Winter fun 2016 Light Table
« Thread started on: Nov 1st, 2016, 04:30am »

We have a good few educators as members of the forum many with science backgrounds so this one is for you.

Create a science class light table. One where objects can be placed like prisms or lenses and the path of the rays of white light traced in 2D.


You may even split the light into its color components if you are feeling adventurous.

User IP Logged

tenochtitlanuk
Board Moderator

member is offline

Avatar




Homepage PM

Gender: Male
Posts: 1168
xx Re: Winter fun 2016 Light Table
« Reply #1 on: Nov 2nd, 2016, 5:17pm »

I've put up a quick lashup on JB forum. The round source aims a beam/ray at a fixed point on a glass surface, and shows the reflected/refracted rays.

User Image

But if I have time I'd like to do it in LB, where I can place coloured objects with rectilinear or curved shapes and detect when a ray (shown as an animated progressing line) hits them, with getpixel. It's not entirely trivial then to find the angle of incidence, and hence reflections/refracted rays.
Not entirely un-related is my rainbow stuff on http://diga.me.uk/rainbow/rainbow.html
User IP Logged

Rod
Global Moderator
ImageImageImageImageImage


member is offline

Avatar

Graphics = goosebumps!


PM

Gender: Male
Posts: 5546
xx Re: Winter fun 2016 Light Table
« Reply #2 on: Nov 9th, 2016, 02:29am »

My light table flickers into life, the maths are wrong but the first ray is traced. Maths gurus are going to love this challenge.

User Image
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Rules|Home|Help|Search|Recent Posts|Notification

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls