Snell's Law - refraction calculator posted
Published by ams on Mon, 12/03/2012 - 15:41
Published by ams on Mon, 12/03/2012 - 15:41
Published by ams on Mon, 11/26/2012 - 20:05
Check out the new refraction in lenses illustration and introductory video
Published by ams on Sun, 09/30/2012 - 12:24
Published by ams on Sun, 08/19/2012 - 10:07
A recent comment on the drawing ovals in javascript post by Maurício provided an ellipse drawing function for drawing ellipses based on the radius of the shapes greater semi-axis and its eccentricity.
Here is an interactive version of the code. Thanks Mauricio!
Published by ams on Thu, 07/19/2012 - 11:20
html5 canvas element has a robust set of methods for rendering text. This functionality is accessed by calling methods of the canvas context object.
The basic syntax is:
context.fillText("text", x, y);
Published by ams on Wed, 06/27/2012 - 11:56
Check out the new serial dilution illustration and problem set. The illustration is an update of the netlogo illustrations from the old scienceprimer blog.
Published by ams on Thu, 05/24/2012 - 12:34
Published by ams on Thu, 05/03/2012 - 20:09
Multi-trait Punnett Square calculator illustration and problem set published.
Published by ams on Sun, 04/15/2012 - 20:09
In the electromagnetic spectrum illustration and light color, frequency and wavelength post, I needed to calculate color from wavelength value. I tried a few different approaches but finally settled on a modified version of some widely cited FORTRAN code for determining RGB values.
Published by ams on Sat, 04/14/2012 - 21:14
The Bohr model of the atom, developed in the early twentieth century, was an attempt to explain observations about the way atoms and electrons absorb, retain and release energy.