3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Parabola Plotting Web Pages

Parabola Plotting Web Pages
Graphics have become more available on web pages. A web page that can design parabolas can show what is now available. 
 
Remove these adsRemove these ads by Signing Up
 

Step 1

 Different applications require parabolas having different focal points. A parabola follows the following equation.

Y = X^2/(4*focal)

The old camera flash bulbs appeared to use a short focal length when compared to its radius. When the focal is 0.25, then Y will be unity when X is unity.

The web page to do this is only a text file. Feel free to save it as source on you computer. 
« Previous StepDownload PDFView All StepsNext Step »
8 comments
Dec 24, 2010. 11:52 PMjoen says:
I tried the web page and nothing happened. Did I miss somethihg
May 4, 2010. 3:02 AMnutsandbolts_64 says:
 The unit of measurement in the focal point thing is?
May 4, 2010. 10:39 PMnutsandbolts_64 says:
 Ok, thanks.
Apr 16, 2010. 2:03 PMkelseymh says:
On Step 5, you say that you only generate 11 X points, and (implicitly) do a linear interpolation between them.  For focal depths far from 1, this is not optimal.  I played with the script, putting in 0.05 and 0.005 respectively.  In both cases, the straight lines and corners in Y are quite apparent (the latter has just two lines!).

To get a smother curve, you may want to consider evaluating the inverse problem to get Xmax (positive) for Ymax at the boundary of the plot, then generate a fixed number of steps from X=0 to X=Xmax.

Otherwise, this is a very clever bit of JavaScript.  Nicely done!
Apr 16, 2010. 2:16 PMkelseymh says:
:-)  When you said it was a "plain text" file, I got curious.  Nice to see simple scripting, rather than some overwritten applet that gets downloaded to do who knows what.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
11
Followers
16
Author:dsauer
Have 30+ years of experiences as a Mixed Signal IC Design Engineer.