pygame is
Simple DirectMedia Layer is
Site Swing
Circle Refraction

Circle Refraction - 1.0.0

Ian Mallett (geometrian)



When light transverses media, i.e., changes what it is going through, it bends. Here's a simulation of that. Here, the light is passing through diamond circles. I have included materials for many different substances. Play around with it.


Home Page:


click to view original size


Circle Refraction - 1.0.0 - Jun 10, 2008 account Comments

If you wish to leave a comment with your account, please sign in first.

June 11, 2008 3:08pm - Ian Mallett - nickname: (geometrian)
It is actually accurate, although it does not yet deal with total internal reflection. But yes. Look at Snell's Law.
June 11, 2008 8:07am - Dylan J. Raub - nickname: (dylanjraub)
Very cool! Is this based on the law of refraction? I guess I mean to ask if it's actualy accurate.
June 10, 2008 10:03pm - Ian Mallett - nickname: (geometrian)
Version 1.0.0 released!

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Oct 22, 2016

Oct 17, 2016

Oct 11, 2016

Oct 10, 2016

Oct 3, 2016

Oct 1, 2016

Sep 29, 2016

Sep 19, 2016

Sep 17, 2016

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)