||Introduction to Cocoa Graphics, Part 2|
|Subject:||first sample code and story|
Response to: thinking in box, curve out of box ;-)
Two hours and forty five minutes of commenting got me hot to it.
I was, at first, frustrated that I couldn't color code the paths differently to remember who did what and then I started in my mind to grasp what was going on without color coding by commenting out certain strokes.
The fog cleared. I always start with intense fog and then I get smart.
I rewrote the code so I could have one place to change p1's x coordinate etc. and see what happened and confirmed your hypothesis really good in all cases except the one you gave which was only confirmed by your "robust fuzzy thinking".
I must train in a pool doing laps now, but brief you on the results here :
I got arcs to draw precisely from p1 to be tangent to that imaginary line as I lengthened what I called the base (line p1-p2) by moving p2 away farther. With the staging in variables I only had to change the value of float x2=...; and I saw many cases exactly confirming your hypothesis.
When you get such confirmation, you get hot and closer to writing the prose like Carolyn Rose! You have the confidence of sufficient events and all the hidden struggles behind your writing.
tool for fluted ends of fonts, serifs (?)
2001-11-21 12:29:22 psheldon [View]