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
Nov 17, 2015

Nov 12, 2015

Nov 11, 2015

Nov 8, 2015

Oct 16, 2015

Oct 9, 2015

Sep 11, 2015

Sep 6, 2015

Aug 26, 2015

Aug 25, 2015

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