File: jitternodes.inx

package info (click to toggle)
inkscape 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 320,944 kB
  • sloc: cpp: 532,425; ansic: 59,393; python: 51,398; javascript: 3,864; xml: 2,708; sh: 2,426; perl: 614; makefile: 431
file content (31 lines) | stat: -rw-r--r-- 1,558 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Jitter nodes</name>
    <id>org.inkscape.filter.jitter_nodes</id>
    <param name="tab" type="notebook">
        <page name="Options" gui-text="Options">
            <param name="radiusx" type="float" min="0.0" max="1000.0" gui-text="Maximum displacement in X (px):">10.0</param>
            <param name="radiusy" type="float" min="0.0" max="1000.0" gui-text="Maximum displacement in Y (px):">10.0</param>
            <param name="end" type="bool" gui-text="Shift nodes">true</param>
            <param name="ctrl" type="bool" gui-text="Shift node handles">false</param>
            <param name="dist" type="optiongroup" appearance="combo" gui-text="Distribution of the displacements:">
                <option value="Uniform">Uniform</option>
                <option value="Pareto">Pareto</option>
                <option value="Gaussian">Gaussian</option>
                <option value="Lognorm">Log-normal</option>
            </param>
        </page>
        <page name="Help" gui-text="Help">
            <label>This effect randomly shifts the nodes (and optionally node handles) of the selected path.</label>
        </page>
    </param>
    <effect>
        <object-type>path</object-type>
        <effects-menu>
            <submenu name="Modify Path"/>
        </effects-menu>
    </effect>
    <script>
        <command location="inx" interpreter="python">jitternodes.py</command>
    </script>
</inkscape-extension>