# New user with questions about programming with krita

**URL:** <https://krita-artists.org/t/new-user-with-questions-about-programming-with-krita/64291>\
**Category:** Develop\
**Created:** [April 26, 2023, 3:03pm UTC](https://krita-artists.org/t/new-user-with-questions-about-programming-with-krita/64291 "2023-04-26T15:03:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![TheTwo](https://krita-artists.org/user_avatar/krita-artists.org/thetwo/32/32836_2.png) [@TheTwo](https://krita-artists.org/u/TheTwo)\
**Post date:** [April 27, 2023, 4:26am UTC](https://krita-artists.org/t/new-user-with-questions-about-programming-with-krita/64291/4 "2023-04-27T04:26:42Z")

</div>

> [@oscar\_adalid](#):
>
> it is possible to program brushes with scripts

KRITA does not support doing this now. You can refer to this post:

> [@\[Appimage\] Scriptable Brush v0](https://krita-artists.org/t/appimage-scriptable-brush-v0/46716):
>
> This is a follow-up of I have made an Appimage: md5sum: e4bc668c09c77c08f0d56e07706bd7e5 sha256sum: d8a108347efb19494883dbce0ec4929b5ab49efbdfbc994193af074984866100 Important This is just a prototype to test the idea and Lua vs Python. Nothing is really fixed. Do NOT use it for production The Lua scripts may or may not be saved properly. Back up your scripts! How to Use Edit a brush with pen settings (i.e. pressure, tilt etc). You will see a new ‘Lua’ entry in pen settings, enable it …

> [@\[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…

---

_[View the full topic](https://krita-artists.org/t/new-user-with-questions-about-programming-with-krita/64291)._
