# Making brushes programatically

**URL:** <https://krita-artists.org/t/making-brushes-programatically/84086>\
**Category:** Developer Questions\
**Created:** [February 8, 2024, 11:00pm UTC](https://krita-artists.org/t/making-brushes-programatically/84086 "2024-02-08T23:00:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Katamaheen](https://krita-artists.org/user_avatar/krita-artists.org/katamaheen/32/123665_2.png) [@Katamaheen](https://krita-artists.org/u/Katamaheen)\
**Post date:** [February 9, 2024, 12:02am UTC](https://krita-artists.org/t/making-brushes-programatically/84086/4 "2024-02-09T00:02:44Z")

</div>

Oh, i’m sorry! But hey, a quick search and I found something else:

> [@\[proof-of-concept\] Scriptable Brush](https://krita-artists.org/t/proof-of-concept-scriptable-brush/46634):
>
> [[Lua Scripted Brush for Krita] ](https://www.youtube.com/watch?v=tsJpEM-9au8)Explanation This is a quick experiment that I did for fun. It demonstrates a way of making scripptable brushes via Lua. In the video I played with drawing speed and drawing angle. I’d really wanted to use pressure, but I don’t have my tablet with my dev environement frowning I chose Lua because it’s simpler to embed in C/C++. I hacked the pixel engine by adding a new “dynamic sensor”, which exposes other sensor values and run a lua script to calcu…

Maybe that would help?

---

_[View the full topic](https://krita-artists.org/t/making-brushes-programatically/84086)._
