# Stroke Input -\> Fourier Example

**URL:** <https://talk.observablehq.com/t/stroke-input-fourier-example/6842>\
**Category:** Help\
**Created:** [July 23, 2022, 11:23am UTC](https://talk.observablehq.com/t/stroke-input-fourier-example/6842 "2022-07-23T11:23:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimr1603](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/jimr1603/32/6771_2.png) [@jimr1603](https://talk.observablehq.com/u/jimr1603)\
**Post date:** [July 23, 2022, 11:23am UTC](https://talk.observablehq.com/t/stroke-input-fourier-example/6842/1 "2022-07-23T11:23:06Z")

</div>

Hi All,

I’m trying to get [the fourier example](https://observablehq.com/@mbostock/fourier-series-zoom) to take a [stroke as input as seen in the intro to views](https://observablehq.com/@observablehq/introduction-to-views).

I’m having a bit of trouble getting from one to the other. `stroke` returns an array of points, but the Fourier example works with a full SVG. Is there a sensible way to tweak the `viewof stroke` to return a SVG, or the Fourier example to accept a array of points?
