SeExpr

New in version 4.4.

../../../_images/SeExpr-David-Revoy.jpg

Fills the layer with a pattern specified through Disney Animation’s SeExpr expression language.

SeExpr is an embeddable, arithmetic expression language that enables you to write shader-like scripts. Through this language, Krita can add dynamically generated textures like lava (example above), force fields, wood, marble, etc. to your layers.

As with Patterns, you can create your own and use those as well. For some examples, please check out the thread “Procedural texture generator (example and wishes)” on Krita Artists. You can download them as a bundle through Amyspark’s blog.

Script

Select the desired preset out of any existing bundled presets. This tab is identical to the Pattern preset selector.

../../../_images/SeExpr_script.png
Options

This tab allows you to edit the selected preset, and apply its script to the layer.

../../../_images/SeExpr_editor.png

There are three sections. The first bar allows you to edit and save the selected preset:

../../../_images/SeExpr_editor_preset_mgmt.png

If your script is syntactically correct, the middle box lets you adjust its variables through widgets.

../../../_images/SeExpr_editor_widgets.png

The lower box contains the script text, and shows the detected syntax errors, if any.

../../../_images/SeExpr_editor_script_error.png

You can adjust how much space the latter two boxes have through their splitter.