# Adding path lines to SVG export

**URL:** https://talk.observablehq.com/t/adding-path-lines-to-svg-export/8666
**Category:** Help
**Created:** [January 4, 2024, 10:03pm UTC](https://talk.observablehq.com/t/adding-path-lines-to-svg-export/8666 "2024-01-04T22:03:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Alamowork](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@Alamowork](https://talk.observablehq.com/u/Alamowork)
#### Post date: [January 4, 2024, 10:03pm UTC](https://talk.observablehq.com/t/adding-path-lines-to-svg-export/8666/1 "2024-01-04T22:03:54Z")

</div>

Can someone help me work out how to fork an d add the path lines so they appear in an exported SVG please?

> **[Periodic Planar Three-Body Orbits](https://observablehq.com/@rreusser/periodic-planar-three-body-orbits)**
>
> Read this notebook ➡️ on my personal website via Observable Notebook Kit. This notebook collects periodic solutions of the planar three-body problem in which three bodies experience mutual gravitational attraction according to Newton's law of...

---

<div class="post-metadata">

### Author: ![mcmcclur](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mcmcclur/32/2364_2.png) [@mcmcclur](https://talk.observablehq.com/u/mcmcclur)
#### Post date: [January 5, 2024, 3:29am UTC](https://talk.observablehq.com/t/adding-path-lines-to-svg-export/8666/2 "2024-01-05T03:29:07Z")

</div>

Those paths are drawn to a canvas using WebGL via the regl library. That canvas is then embedded into an SVG as a foreign object. The SVG is there mainly to facilitate the drawing of the axes and to position the moving bodies themselves. As a result, I don’t think there’s a simple way to accomplish your objective. It would likely take a re-implementation of the drawing portion at least.

---

<div class="post-metadata">

### Author: ![Alamowork](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@Alamowork](https://talk.observablehq.com/u/Alamowork)
#### Post date: [January 5, 2024, 3:55am UTC](https://talk.observablehq.com/t/adding-path-lines-to-svg-export/8666/3 "2024-01-05T03:55:27Z")

</div>

Thanks for your reply and the information you shared. It’s a shame, was hoping it was a bit more straightforward. Only looking for the paths the points travelled, don’t need the line renderings
