-
Notifications
You must be signed in to change notification settings - Fork 0
/
dead_leaves.inx
57 lines (48 loc) · 2.8 KB
/
dead_leaves.inx
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Dead leaves pattern</_name>
<id>jlecoeur.inkscape.extension.dead_leaves</id>
<dependency type="executable" location="extensions">dead_leaves.py</dependency>
<dependency type="executable" location="extensions">inkpyration.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<dependency type="executable" location="extensions">color_utils.py</dependency>
<_param name="about" type="description">Creates a pattern with circular leaves.</_param>
<param name="tab" type="notebook">
<page name="tab_document" _gui-text="Document size">
<param name="unit" _gui-text="Unit" type="optiongroup" appearance="minimal">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
<option value="px">px</option>
</param>
<param name="sizey" type="float" min="1" max="1000000" precision="1" _gui-text="Image size (horizontal)">300</param>
<param name="sizex" type="float" min="1" max="1000000" precision="1" _gui-text="Image size (vertical)">60</param>
<param name="description_periodicity" type="description">Pattern periodicity</param>
<param name="is_periodic" type="boolean" _gui-text="Periodic">false</param>
<param name="periody" type="float" min="0" max="1000000" _gui-text="Period (horizontal)">300.0</param>
<param name="periodx" type="float" min="0" max="1000000" _gui-text="Period (vertical)">60.0</param>
</page>
<page name="tab_circles" _gui-text="Circle size">
<param name="description_cirlces" type="description">Number and size of cirlces</param>
<param name="radmin" type="float" min="0" max="1000000" _gui-text="Minimum circle radius">0.5</param>
<param name="radmax" type="float" min="0" max="1000000" _gui-text="Maximum circle radius">60</param>
<param name="iter" type="int" min="0" max="1000000" _gui-text="Number of circles">10000</param>
</page>
<page name="tab_colors" _gui-text="Colors">
<param name="ncolors" type="int" min="2" max="125" _gui-text="Number of color shades">3</param>
<_param name="description_color" type="description">Color A</_param>
<param name="color" type="color" _gui-text="Color">#000000ff</param>
<_param name="description_color" type="description">Color B</_param>
<param name="color2" type="color" _gui-text="Color">#000000</param>
</page>
</param>
<effect needs-live-preview="false">
<object-type>all</object-type>
<effects-menu>
<submenu _name="Bee Patterns"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">dead_leaves.py</command>
</script>
</inkscape-extension>