I received a question today about what curve is parallel to a parabola. I sat for a minute and realized that it wasn’t another parabola. It required parametric equations (at least if you wanted to keep it simple). That of course lead to code:

See the Pen jOqzMJb by Sophia (@fractalkitty) on CodePen.

The parametric equations for the parabola are:

- x = 2at
- y = at
^{2}

The parallel curve equations are:

- x = 2at+ct/sqrt(1+t
^{2}) - y = at
^{2}– c/sqrt(1+t^{2})

## Leave a Reply to shaunakdeCancel reply