I'm trying to create a bell-shaped (Gaussian) curve in Photoshop CS3, using the Pen Tool, however apparently I am not good enough with it... I can create a curve that resembles a simple parabola - like this one <http://4.bp.blogspot.com/_BhBX8ycVeL4/SIHhJYmDCgI/AAAAAAAAA-g/2Dc_Tf1Kz5c/s400/400px-Parabola.svg.png> only upside-down; however I can't figure out how to further go from here in order to add the extra inflexions on the sides that make the parabola into a Gaussian curve, that would look something like this: <http://naturalcureinsomnia.com/img/Bell-Curve.gif>
Can anyone help? Thanks in advance!
Or try this web page. Save and use as a template?
<http://hyperphysics.phy-astr.gsu.edu/HBASE/math/gaufcn.html>
Correct me if I'm wrong---I believe you want a schematic Gaussian curve rather than a mathematically precise one.
If so, set up two horizontal guide lines, one running through the desired apex and the other through the curve's baseline. Add three vertical guides, one through the apex and the other two equally spaced on the left and right sides of the guide through the apex.
Let point A be at the intersection of the left vertical with the baseline, point B be the apex, and point C be the intersection of the right vertical with the baseline.
With the pen tool at point A, drag horizontally to the right a fraction of the distance to the central guide. Release the mouse, move the pen tool to point B and drag horizotally to the right about the same distance or until the left half of the curve looks Gaussian. Release the mouse, place the pen tool at point C and drag horizontally rightward until the right half of the Gaussian curve matches the left.
To close the curve, release the mouse and click at a point on the baseline well beyond point C, connect from below with a path of any shape to a point on the baseline well to the left of point A, and then close to point A. Stroke the path, delete the path, and erase all but the Gaussian part.
Experiment with the ABC positions and the drag lengths until you get a decent curve. Should you want a precise curve it would be better to use one of the freeware curve programs out there. But if you want a bit of precision with the pen tool, that's possible by calculating one or two intermediate points between A and B and symmetrically between B and C and then dragging the pen so that curve comes reasonably close to passing through them.
A corrrect graphic is here. p.19:
<http://www.fho-emden.de/~hoffmann/pstutor22112002.pdf>
It's in fact an EPS program, which can be executed by
Photoshop, InDesign or Illustrator.
Can be used as a template for a Pen Tool graphic.
Best regards --Gernot Hoffmann
Paulo
I'm not writing a book, I'm just trying this & that ...
Best regards --Gernot Hoffmann
Yeah, just dragging horizontally at three points really is simple. Thank you for the feedback---something which a lot of OPs don't bother with.
Gernot,
Your work is fantastic, as usual. Thanks. I had the same question as Paulo. You have already created many mathematical treatises pertinent to digital imaging which, collectively, would constitute an exquisite, unique, authoritative reference book that some scientific publisher somewhere should drool over and provide assembly and editorial services, freeing you to stay creative.