|
Krita Source Code Documentation
|
Inheritance diagram for mutator.mutator.Mutator:Public Member Functions | |
| __init__ (self, parent) | |
| createActions (self, window) | |
| mutate (self) | |
| setup (self) | |
Public Attributes | |
| mutate | |
Mutator Class - Krita Extension The Mutator Krita extension script randomly mutates some of the artist's key brush and color settings by some configurable amount. (When the extension is active settings can be configured in Krita's GUI using sliders in the MutatorDocker.)
Definition at line 64 of file mutator.py.
| mutator.mutator.Mutator.__init__ | ( | self, | |
| parent ) |
Definition at line 70 of file mutator.py.
References mutator.mutator.Mutator.__init__().
| mutator.mutator.Mutator.createActions | ( | self, | |
| window ) |
Adds an "action" to the Krita menus, which connects to the mutate function.
Definition at line 78 of file mutator.py.
| mutator.mutator.Mutator.mutate | ( | self | ) |
Mutates current brush/color/etc. settings by some user-configurable amount. Configurable settings are some percentage of a hard maximum amount for usability tuning. Mutation is triggered *manually* by the artist via action, hotkey, or button, whenever some randomness or brush/color variation is desired.
Definition at line 86 of file mutator.py.
References mutator.mutator.calculate_mutation(), mutator.mutator.clamp(), ManagedColor.fromQColor(), Krita.instance(), and mutator.mutator.sizeMutMax().
| mutator.mutator.Mutator.setup | ( | self | ) |
Definition at line 74 of file mutator.py.
| mutator.mutator.Mutator.mutate |
Definition at line 83 of file mutator.py.