# Gallery: curve widget

**URL:** <https://discourse.kitware.com/t/gallery-curve-widget/465>\
**Category:** Gallery\
**Created:** [June 3, 2020, 8:38pm UTC](https://discourse.kitware.com/t/gallery-curve-widget/465 "2020-06-03T20:38:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcthomp](https://discourse.kitware.com/user_avatar/discourse.kitware.com/dcthomp/32/10_2.png) [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Post date:** [June 3, 2020, 8:38pm UTC](https://discourse.kitware.com/t/gallery-curve-widget/465/1 "2020-06-03T20:38:10Z")

</div>

This movie:

> **[curve widget demo 2020-06-03-1080p.mp4 (video)](https://drive.google.com/file/d/1FDVV-sHflspAjmu13CC8xPbAp9Lx7ErU/view?usp=drive_open)**
>
> Google Drive file.

illustrates how SMTK’s spline widget works to tie an attribute accepting point locations to an interactive curve editor.

 ![Screen Shot 2020-06-03 at 16.33.04](https://discourse.kitware.com/uploads/default/original/1X/1b27d2f4755e60264a55093e099a9dcfdb6eb2a4.jpeg)

See [our widget documentation](https://smtk.readthedocs.io/en/latest/userguide/extension/paraview/widgets.html#spline) for how to configure it for your attributes. Note that it can also be used for polylines (piecewise linear curves).
