pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Circle Refraction

Circle Refraction - 1.0.0

Ian Mallett (geometrian)

Tags:

Description

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.

Links

Home Page: http://geometrian.com/programming/index.php
Source: http://www.geometrian.com/data/programming/projects/Circle%20Refract/1.0.0/Circle%20Refract.zip

Screenshot


click to view original size

Releases

Circle Refraction - 1.0.0 - Jun 10, 2008

Pygame.org account Comments

If you wish to leave a comment with your pygame.org 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!
spotlight

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


Oct 20, 2014

Oct 16, 2014

Oct 9, 2014

Oct 8, 2014

Oct 7, 2014

Oct 4, 2014

Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

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