tag:blogger.com,1999:blog-1840985738235902482.post335959715292598072..comments2024-03-27T07:14:48.488-04:00Comments on John the Math Guy: The function of the heartJohn Seymourhttp://www.blogger.com/profile/11350487038873935295noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-1840985738235902482.post-45964433834506203512019-02-15T11:47:28.707-05:002019-02-15T11:47:28.707-05:00A long time ago, before Postscript, we had to add ...A long time ago, before Postscript, we had to add quality text to a slide making system. Based on a "hack memo" we put together parametric bezier curve equations, with only a few control points on the final curve, initial and ending angles, and fixed velocities, which enabled us to quickly copy Letraset letters. We demo'd it by make almost that exact heart curve. One (L/R) side of the heart required setting only 4 points: 1 - the top center start point at near 90 degree (upward) starting direction, 2 - the top peak point with start/stop direction horizontal, 3 - the side point with start/stop directions vertical and 4 - the bottom end point with ending tangent direction adjusted. 30 seconds to make a perfect half heart - no user math! Once we had those 3 parametric bezier sections, recursive evaluation using successive midpoints of curves until error was less than 1 pixel enabled quick evaluation even on IBM XT! Yochanon Bogarthttps://www.blogger.com/profile/03079400061117379890noreply@blogger.comtag:blogger.com,1999:blog-1840985738235902482.post-21141012493489394172013-02-13T21:09:40.146-05:002013-02-13T21:09:40.146-05:00Thank you Joel! Next up... the equation for Barry ...Thank you Joel! Next up... the equation for Barry White.John Seymourhttps://www.blogger.com/profile/11350487038873935295noreply@blogger.comtag:blogger.com,1999:blog-1840985738235902482.post-83078811142208546602013-02-13T15:02:01.557-05:002013-02-13T15:02:01.557-05:00They say that "Love hurts"...well, my he...They say that "Love hurts"...well, my head hurts from all this math. LOL Nice blog, sir!Silkysoulhttp://twitter.com/silkysoulnoreply@blogger.com