# Paintable Canvas Hacks

**URL:** <https://forum.inductiveautomation.com/t/paintable-canvas-hacks/85437>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [February 8, 2024, 3:25pm UTC](https://forum.inductiveautomation.com/t/paintable-canvas-hacks/85437 "2024-02-08T15:25:06Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [April 8, 2024, 6:08pm UTC](https://forum.inductiveautomation.com/t/paintable-canvas-hacks/85437/6 "2024-04-08T18:08:03Z")

</div>

That looks familiar...

> [@Circular Slider in canvas](https://forum.inductiveautomation.com/t/circular-slider-in-canvas/26254):
>
> OK, after 4 days I have enough… disappointed_relieved It seems that (at least for me) this seems to be more difficult than I thought. Making a circular slider is way more different/difficult than making a circular gauge. I’m pretty sure that my lack of knowledge is what’s causing me problems (I also think that the overall approach to this is wrong), but that’s it. Here is what I came up with: [CircularSlider\_2019-07-03\_0941.proj](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/297b417e351289018c8991066504856ed9af7470.proj) (322.7 KB) Feel free to use, experiment with and in case some…

This demonstrates using hit testing on the canvas to turn your gauge into a "slider" for input purposes.

Be warned in advance that there is some "fancy" math involved.

I also often find that is useful to do all of the drawing at a known unit size and then transform and/or scale to the final size at the end.

---

_[View the full topic](https://forum.inductiveautomation.com/t/paintable-canvas-hacks/85437)._
