OSDN Git Service

speed_log, speed_sqrt (experiments)
authorMartin Renold <martinxyz@gmx.ch>
Wed, 18 Oct 2006 20:03:53 +0000 (20:03 +0000)
committerMartin Renold <martinxyz@gmx.ch>
Wed, 18 Oct 2006 20:03:53 +0000 (20:03 +0000)
adding lots of experimental brushes (the good old chaos ;) polish later

svn://old.homeip.net/code/mypaint@378

27 files changed:
brushes/bi000.myb [new file with mode: 0644]
brushes/bi000_prev.png [new file with mode: 0644]
brushes/bi001.myb [new file with mode: 0644]
brushes/bi001_prev.png [new file with mode: 0644]
brushes/bi002.myb [new file with mode: 0644]
brushes/bi002_prev.png [new file with mode: 0644]
brushes/bi003.myb [new file with mode: 0644]
brushes/bi003_prev.png [new file with mode: 0644]
brushes/bi004.myb [new file with mode: 0644]
brushes/bi004_prev.png [new file with mode: 0644]
brushes/bi006.myb [new file with mode: 0644]
brushes/bi006_prev.png [new file with mode: 0644]
brushes/bi008.myb [new file with mode: 0644]
brushes/bi008_prev.png [new file with mode: 0644]
brushes/bi009.myb [new file with mode: 0644]
brushes/bi009_prev.png [new file with mode: 0644]
brushes/bi010.myb [new file with mode: 0644]
brushes/bi010_prev.png [new file with mode: 0644]
brushes/bi011.myb [new file with mode: 0644]
brushes/bi011_prev.png [new file with mode: 0644]
brushes/handschrift.myb [new file with mode: 0644]
brushes/handschrift_prev.png [new file with mode: 0644]
brushes/order.conf
brushes/s001.myb [new file with mode: 0644]
brushes/s001_prev.png [new file with mode: 0644]
brushsettings.py
gtkmybrush.c

diff --git a/brushes/bi000.myb b/brushes/bi000.myb
new file mode 100644 (file)
index 0000000..787e21d
--- /dev/null
@@ -0,0 +1,26 @@
+# mypaint brush file
+color 65 64 49
+opaque 1.0 | stroke 0.62962962963 0.0 1.0 -1.0 0.0 0.0 0.0 0.0
+opaque_multiply 0.0 | pressure 1.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0
+radius_logarithmic 1.89 | stroke 0.543209876543 -1.82 1.0 -0.0 0.0 0.0 0.0 0.0
+hardness 0.8
+dabs_per_basic_radius 0.0
+dabs_per_actual_radius 2.0
+dabs_per_second 0.0
+radius_by_random 0.0
+speed1_slowness 0.04
+speed2_slowness 0.8
+offset_by_random 0.0
+offset_by_speed 0.0
+offset_by_speed_slowness 1.0
+slow_tracking 0.0
+slow_tracking_per_dab 0.0
+color_value 0.0
+color_saturation 0.0
+color_hue 0.0
+adapt_color_from_image 0.0
+change_radius 0.0
+stroke_treshold 0.0
+stroke_duration_logarithmic 1.47 | pressure 1.0 -1.55 0.0 0.0 0.0 0.0 0.0 0.0
+stroke_holdtime 1.44
+opaque_linearize 0.0
diff --git a/brushes/bi000_prev.png b/brushes/bi000_prev.png
new file mode 100644 (file)
index 0000000..541ffad
Binary files /dev/null and b/brushes/bi000_prev.png differ
diff --git a/brushes/bi001.myb b/brushes/bi001.myb
new file mode 100644 (file)
index 0000000..ffc0fbb
--- /dev/null
@@ -0,0 +1,26 @@
+# mypaint brush file
+color 164 182 74
+opaque 0.67 | pressure 1.0 0.2 0.0 0.0 0.0 0.0 0.0 0.0
+opaque_multiply 0.0 | pressure 1.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0
+radius_logarithmic 0.72 | stroke 0.496913580247 0.99 1.0 0.0 0.0 0.0 0.0 0.0
+hardness 0.8
+dabs_per_basic_radius 0.0
+dabs_per_actual_radius 2.0
+dabs_per_second 0.0
+radius_by_random 0.0
+speed1_slowness 0.04
+speed2_slowness 0.8
+offset_by_random 0.0
+offset_by_speed 0.0
+offset_by_speed_slowness 1.0
+slow_tracking 0.0
+slow_tracking_per_dab 0.0
+color_value 0.0 | random 0.336419753086 0.91 1.0 -0.91 0.0 0.0 0.0 0.0
+color_saturation 0.0
+color_hue -0.2 | random 1.0 0.2 0.0 0.0 0.0 0.0 0.0 0.0 | stroke 0.907407407407 0.4 1.0 0.0 0.0 0.0 0.0 0.0
+adapt_color_from_image 0.0
+change_radius 0.0
+stroke_treshold 0.0
+stroke_duration_logarithmic 1.65 | random 1.0 0.74 0.0 0.0 0.0 0.0 0.0 0.0
+stroke_holdtime 4.83 | random 0.256329113924 -3.313125 0.541139240506 -4.7025 1.0 -5.13 0.0 0.0 | stroke 1.0 0.64 0.0 0.0 0.0 0.0 0.0 0.0
+opaque_linearize 0.0
diff --git a/brushes/bi001_prev.png b/brushes/bi001_prev.png
new file mode 100644 (file)
index 0000000..e0ca0e9
Binary files /dev/null and b/brushes/bi001_prev.png differ
diff --git a/brushes/bi002.myb b/brushes/bi002.myb
new file mode 100644 (file)
index 0000000..58f1476
--- /dev/null
@@ -0,0 +1,26 @@
+# mypaint brush file
+color 0 0 0
+opaque 0.6
+opaque_multiply 0.0 | pressure 1.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0
+radius_logarithmic -0.1 | pressure 0.422839506173 -0.122708333333 1.0 -0.31 0.0 0.0 0.0 0.0 | speed 1.0 0.15 0.0 0.0 0.0 0.0 0.0 0.0 | speed2 1.0 0.04 0.0 0.0 0.0 0.0 0.0 0.0 | random 1.0 1.25 0.0 0.0 0.0 0.0 0.0 0.0
+hardness 0.64
+dabs_per_basic_radius 0.0
+dabs_per_actual_radius 2.0
+dabs_per_second 0.0
+radius_by_random 0.0
+speed1_slowness 0.09
+speed2_slowness 1.0
+offset_by_random 2.0 | pressure 0.126582278481 -2.678125 0.370253164557 -5.80260416667 1.0 -8.57 0.0 0.0
+offset_by_speed 0.17 | pressure 1.0 -0.56 0.0 0.0 0.0 0.0 0.0 0.0
+offset_by_speed_slowness 1.0
+slow_tracking 0.0
+slow_tracking_per_dab 0.0
+color_value 0.37 | pressure 0.228395061728 -0.0796875 0.391975308642 -0.1965625 0.574074074074 -0.40375 1.0 -0.51 | speed 1.0 -0.08 0.0 0.0 0.0 0.0 0.0 0.0 | random 1.0 0.15 0.0 0.0 0.0 0.0 0.0 0.0
+color_saturation 0.0
+color_hue 0.0
+adapt_color_from_image 0.0
+change_radius 0.0
+stroke_treshold 0.0
+stroke_duration_logarithmic 4.0
+stroke_holdtime 0.0
+opaque_linearize 0.0
diff --git a/brushes/bi002_prev.png b/brushes/bi002_prev.png
new file mode 100644 (file)
index 0000000..9bd624d
Binary files /dev/null and b/brushes/bi002_prev.png differ
diff --git a/brushes/bi003.myb b/brushes/bi003.myb
new file mode 100644 (file)
index 0000000..4bde045
--- /dev/null
@@ -0,0 +1,26 @@
+# mypaint brush file
+color 139 56 32
+opaque 0.6
+opaque_multiply 0.0 | pressure 1.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0
+radius_logarithmic -1.0 | pressure 0.422839506173 -0.122708333333 1.0 -0.31 0.0 0.0 0.0 0.0 | speed 1.0 0.11 0.0 0.0 0.0 0.0 0.0 0.0 | speed2 1.0 0.23 0.0 0.0 0.0 0.0 0.0 0.0 | random 1.0 1.25 0.0 0.0 0.0 0.0 0.0 0.0
+hardness 0.64
+dabs_per_basic_radius 0.0
+dabs_per_actual_radius 2.0
+dabs_per_second 0.0
+radius_by_random 0.0
+speed1_slowness 0.09
+speed2_slowness 2.12
+offset_by_random 1.5 | pressure 0.126582278481 -0.46875 0.41975308642 -1.171875 1.0 -1.5 0.0 0.0
+offset_by_speed 0.17 | pressure 1.0 -0.56 0.0 0.0 0.0 0.0 0.0 0.0
+offset_by_speed_slowness 1.0
+slow_tracking 0.0
+slow_tracking_per_dab 0.0
+color_value 0.37 | pressure 0.228395061728 -0.0796875 0.391975308642 -0.1965625 0.574074074074 -0.40375 1.0 -0.51 | speed 1.0 -0.08 0.0 0.0 0.0 0.0 0.0 0.0 | random 1.0 0.15 0.0 0.0 0.0 0.0 0.0 0.0
+color_saturation 0.0
+color_hue 0.0
+adapt_color_from_image 0.0
+change_radius 0.0
+stroke_treshold 0.0
+stroke_duration_logarithmic 4.0
+stroke_holdtime 0.0
+opaque_linearize 0.0
diff --git a/brushes/bi003_prev.png b/brushes/bi003_prev.png
new file mode 100644 (file)
index 0000000..7bc5276
Binary files /dev/null and b/brushes/bi003_prev.png differ
diff --git a/brushes/bi004.myb b/brushes/bi004.myb
new file mode 100644 (file)
index 0000000..91c3795
--- /dev/null
@@ -0,0 +1,26 @@
+# mypaint brush file
+color 0 0 0
+opaque 0.49
+opaque_multiply 0.0 | pressure 0.141975308642 0.0729166666667 0.240740740741 0.0625 0.561728395062 0.09375 1.0 1.0
+radius_logarithmic 0.22 | pressure 0.234567901235 -0.345 0.441358024691 -0.96 1.0 -1.44 0.0 0.0 | speed 1.0 0.08 0.0 0.0 0.0 0.0 0.0 0.0 | speed2 1.0 0.76 0.0 0.0 0.0 0.0 0.0 0.0 | random 1.0 1.25 0.0 0.0 0.0 0.0 0.0 0.0
+hardness 0.64
+dabs_per_basic_radius 0.0
+dabs_per_actual_radius 2.0
+dabs_per_second 0.0
+radius_by_random 0.0
+speed1_slowness 0.09
+speed2_slowness 2.38
+offset_by_random 1.5 | pressure 0.126582278481 -0.459375 0.41975308642 -1.1484375 1.0 -1.47 0.0 0.0
+offset_by_speed 0.0
+offset_by_speed_slowness 1.0
+slow_tracking 0.0
+slow_tracking_per_dab 0.0
+color_value 0.37 | pressure 0.228395061728 -0.0796875 0.391975308642 -0.1965625 0.574074074074 -0.40375 1.0 -0.51 | speed 1.0 -0.08 0.0 0.0 0.0 0.0 0.0 0.0 | random 1.0 0.15 0.0 0.0 0.0 0.0 0.0 0.0
+color_saturation 0.0
+color_hue 0.0
+adapt_color_from_image 0.0
+change_radius 0.0
+stroke_treshold 0.0
+stroke_duration_logarithmic 4.0
+stroke_holdtime 0.0
+opaque_linearize 0.0
diff --git a/brushes/bi004_prev.png b/brushes/bi004_prev.png
new file mode 100644 (file)
index 0000000..70e6374
Binary files /dev/null and b/brushes/bi004_prev.png differ
diff --git a/brushes/bi006.myb b/brushes/bi006.myb
new file mode 100644 (file)
index 0000000..cadef55
--- /dev/null
@@ -0,0 +1,26 @@
+# mypaint brush file
+color 0 0 0
+opaque 0.6
+opaque_multiply 0.0 | pressure 0.33024691358 0.104166666667 0.635802469136 0.364583333333 1.0 1.0 0.0 0.0
+radius_logarithmic -1.0 | pressure 0.422839506173 -0.122708333333 1.0 -0.31 0.0 0.0 0.0 0.0 | speed 1.0 0.11 0.0 0.0 0.0 0.0 0.0 0.0 | speed2 1.0 0.23 0.0 0.0 0.0 0.0 0.0 0.0 | random 1.0 1.25 0.0 0.0 0.0 0.0 0.0 0.0
+hardness 0.64
+dabs_per_basic_radius 0.0
+dabs_per_actual_radius 2.0
+dabs_per_second 0.0
+radius_by_random 0.0
+speed1_slowness 0.09
+speed2_slowness 2.12
+offset_by_random 1.5 | pressure 0.126582278481 -0.46875 0.41975308642 -1.171875 1.0 -1.5 0.0 0.0
+offset_by_speed 0.17 | pressure 1.0 -0.56 0.0 0.0 0.0 0.0 0.0 0.0
+offset_by_speed_slowness 1.0
+slow_tracking 0.0
+slow_tracking_per_dab 0.0
+color_value 0.37 | pressure 0.228395061728 -0.0796875 0.391975308642 -0.1965625 0.574074074074 -0.40375 1.0 -0.51 | speed 1.0 -0.08 0.0 0.0 0.0 0.0 0.0 0.0 | random 1.0 0.15 0.0 0.0 0.0 0.0 0.0 0.0
+color_saturation 0.0
+color_hue 0.0
+adapt_color_from_image 0.0
+change_radius 0.0
+stroke_treshold 0.0
+stroke_duration_logarithmic 4.0
+stroke_holdtime 0.0
+opaque_linearize 0.0
diff --git a/brushes/bi006_prev.png b/brushes/bi006_prev.png
new file mode 100644 (file)
index 0000000..6eb5063
Binary files /dev/null and b/brushes/bi006_prev.png differ
diff --git a/brushes/bi008.myb b/brushes/bi008.myb
new file mode 100644 (file)
index 0000000..473c002
--- /dev/null
@@ -0,0 +1,28 @@
+# mypaint brush file
+color 54 54 39
+opaque 1.0
+opaque_multiply 0.0 | pressure 1.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0
+radius_logarithmic 2.0
+hardness 0.8
+dabs_per_basic_radius 0.0
+dabs_per_actual_radius 2.0
+dabs_per_second 0.0
+radius_by_random 0.0
+speed1_slowness 0.04
+speed2_slowness 0.8
+offset_by_random 0.0
+offset_by_speed 0.0
+offset_by_speed_slowness 1.0
+slow_tracking 0.0
+slow_tracking_per_dab 0.0
+color_value 0.0
+color_saturation 0.0
+color_hue 0.0
+adapt_color_from_image 0.0
+change_radius 0.0
+stroke_treshold 0.0
+stroke_duration_logarithmic 4.0
+stroke_holdtime 0.0
+custom_input 0.0
+custom_input_slowness 0.0
+opaque_linearize 0.0
diff --git a/brushes/bi008_prev.png b/brushes/bi008_prev.png
new file mode 100644 (file)
index 0000000..c67e969
Binary files /dev/null and b/brushes/bi008_prev.png differ
diff --git a/brushes/bi009.myb b/brushes/bi009.myb
new file mode 100644 (file)
index 0000000..eb371e9
--- /dev/null
@@ -0,0 +1,28 @@
+# mypaint brush file
+color 0 0 0
+opaque 0.6
+opaque_multiply 0.0 | pressure 0.33024691358 0.104166666667 0.635802469136 0.364583333333 1.0 1.0 0.0 0.0
+opaque_linearize 0.9
+radius_logarithmic -1.0 | pressure 0.422839506173 -0.122708333333 1.0 -0.31 0.0 0.0 0.0 0.0 | speed 1.0 0.11 0.0 0.0 0.0 0.0 0.0 0.0 | speed2 1.0 0.23 0.0 0.0 0.0 0.0 0.0 0.0 | random 1.0 1.1 0.0 0.0 0.0 0.0 0.0 0.0
+hardness 0.64
+dabs_per_basic_radius 0.0
+dabs_per_actual_radius 2.0
+dabs_per_second 0.0
+radius_by_random 0.0
+speed1_slowness 0.09
+speed2_slowness 2.12
+offset_by_random 1.5 | pressure 0.126582278481 -0.46875 0.41975308642 -1.171875 1.0 -1.5 0.0 0.0
+offset_by_speed 0.0 | random 1.0 0.08 0.0 0.0 0.0 0.0 0.0 0.0
+offset_by_speed_slowness 1.0
+slow_tracking 0.0
+slow_tracking_per_dab 0.0
+color_value 0.0
+color_saturation 0.0
+color_hue 0.0
+adapt_color_from_image 0.0
+change_radius 0.0
+stroke_treshold 0.0
+stroke_duration_logarithmic 4.0
+stroke_holdtime 0.0
+custom_input 0.0
+custom_input_slowness 0.0
diff --git a/brushes/bi009_prev.png b/brushes/bi009_prev.png
new file mode 100644 (file)
index 0000000..a84a076
Binary files /dev/null and b/brushes/bi009_prev.png differ
diff --git a/brushes/bi010.myb b/brushes/bi010.myb
new file mode 100644 (file)
index 0000000..30abcde
--- /dev/null
@@ -0,0 +1,28 @@
+# mypaint brush file
+color 0 0 0
+opaque 1.0
+opaque_multiply 0.0 | pressure 1.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0
+opaque_linearize 0.9
+radius_logarithmic 0.8
+hardness 0.8
+dabs_per_basic_radius 0.0
+dabs_per_actual_radius 4.54
+dabs_per_second 0.0
+radius_by_random 1.5
+speed1_slowness 0.04
+speed2_slowness 0.8
+offset_by_random 0.46
+offset_by_speed 0.0
+offset_by_speed_slowness 1.0
+slow_tracking 0.0
+slow_tracking_per_dab 0.0
+color_value 0.0
+color_saturation 0.0
+color_hue 0.0
+adapt_color_from_image 0.0
+change_radius 0.0
+stroke_treshold 0.0
+stroke_duration_logarithmic 4.0
+stroke_holdtime 0.0
+custom_input 0.0
+custom_input_slowness 0.0
diff --git a/brushes/bi010_prev.png b/brushes/bi010_prev.png
new file mode 100644 (file)
index 0000000..968973f
Binary files /dev/null and b/brushes/bi010_prev.png differ
diff --git a/brushes/bi011.myb b/brushes/bi011.myb
new file mode 100644 (file)
index 0000000..e455fb8
--- /dev/null
@@ -0,0 +1,28 @@
+# mypaint brush file
+color 0 0 0
+opaque 0.84
+opaque_multiply 0.0 | pressure 1.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0
+opaque_linearize 0.0
+radius_logarithmic 0.99 | speed_sqrt 1.0 1.78 0.0 0.0 0.0 0.0 0.0 0.0
+hardness 0.8
+dabs_per_basic_radius 0.0
+dabs_per_actual_radius 2.0
+dabs_per_second 0.0
+radius_by_random 0.0
+speed1_slowness 0.04
+speed2_slowness 0.8
+offset_by_random 0.0
+offset_by_speed 0.0
+offset_by_speed_slowness 1.0
+slow_tracking 0.0
+slow_tracking_per_dab 0.0
+color_value 0.0
+color_saturation 0.0
+color_hue 0.0
+adapt_color_from_image 0.0
+change_radius 0.0
+stroke_treshold 0.0
+stroke_duration_logarithmic 4.0
+stroke_holdtime 0.0
+custom_input 0.0
+custom_input_slowness 0.0
diff --git a/brushes/bi011_prev.png b/brushes/bi011_prev.png
new file mode 100644 (file)
index 0000000..b5df63a
Binary files /dev/null and b/brushes/bi011_prev.png differ
diff --git a/brushes/handschrift.myb b/brushes/handschrift.myb
new file mode 100644 (file)
index 0000000..de205d4
--- /dev/null
@@ -0,0 +1,26 @@
+# mypaint brush file
+color 1 16 96
+opaque 1.0
+opaque_multiply 0.0 | pressure 0.191358024691 0.0 0.200617283951 1.0 1.0 1.0 0.0 0.0
+radius_logarithmic 0.2 | pressure 1.0 0.5 0.0 0.0 0.0 0.0 0.0 0.0 | speed 1.0 -0.3 0.0 0.0 0.0 0.0 0.0 0.0
+hardness 0.48 | pressure 1.0 0.06 0.0 0.0 0.0 0.0 0.0 0.0 | speed 1.0 -0.1 0.0 0.0 0.0 0.0 0.0 0.0
+dabs_per_basic_radius 0.0
+dabs_per_actual_radius 2.0
+dabs_per_second 0.0
+radius_by_random 0.0
+speed1_slowness 0.04
+speed2_slowness 0.8
+offset_by_random 0.0
+offset_by_speed 0.0
+offset_by_speed_slowness 1.0
+slow_tracking 1.6
+slow_tracking_per_dab 0.8
+color_value 0.0
+color_saturation 0.0
+color_hue 0.0
+adapt_color_from_image 0.0
+change_radius 0.0
+stroke_treshold 0.0
+stroke_duration_logarithmic 4.0
+stroke_holdtime 0.0
+opaque_linearize 0.0
diff --git a/brushes/handschrift_prev.png b/brushes/handschrift_prev.png
new file mode 100644 (file)
index 0000000..26982ee
Binary files /dev/null and b/brushes/handschrift_prev.png differ
index f88b5c2..ef40552 100644 (file)
@@ -1,11 +1,23 @@
 # this file saves brushorder
 # the first one (upper left) will be selected at startup
+bi011
+bi010
+s001
+bi002
+bi009
+bi008
+bi004
+bi006
 o043
+bi003
+bi001
+bi000
 ink
 pencil
-charcoal
 o031
+charcoal
 o000
+s000
 o011
 o022
 blur
@@ -14,16 +26,13 @@ o033
 o018
 old_b004
 o501
-loosedots
 o512
 o945
 o665
 o519
 bulk
-o028
 o009
 o020
-s000
 old_b008
 o005
 o007
@@ -36,12 +45,14 @@ o041
 o032
 o021
 o036
+o028
 o037
+handschrift
 o017
 o019
 o014
 o012
-s001
 old_b024
 o006
 o013
+loosedots
diff --git a/brushes/s001.myb b/brushes/s001.myb
new file mode 100644 (file)
index 0000000..9709860
--- /dev/null
@@ -0,0 +1,28 @@
+# mypaint brush file
+color 0 0 0
+opaque 0.59
+opaque_multiply 0.0 | pressure 1.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0
+opaque_linearize 0.0
+radius_logarithmic 1.55
+hardness 0.52
+dabs_per_basic_radius 4.32
+dabs_per_actual_radius 0.0
+dabs_per_second 80.0
+radius_by_random 2.92
+speed1_slowness 0.04
+speed2_slowness 0.8
+offset_by_random 10.0
+offset_by_speed 0.66
+offset_by_speed_slowness 1.0
+slow_tracking 0.0
+slow_tracking_per_dab 0.0
+color_value 0.0
+color_saturation 0.0
+color_hue 0.0
+adapt_color_from_image 0.0
+change_radius 0.0
+stroke_treshold 0.0
+stroke_duration_logarithmic 4.0
+stroke_holdtime 0.0
+custom_input 0.0
+custom_input_slowness 0.0
diff --git a/brushes/s001_prev.png b/brushes/s001_prev.png
new file mode 100644 (file)
index 0000000..42adf06
Binary files /dev/null and b/brushes/s001_prev.png differ
index dd4aa51..182065b 100644 (file)
@@ -9,6 +9,8 @@ inputs_list = [
     ['pressure', 1.0, True, "The pressure reported by the tablet, between 0.0 and 1.0. If you use the mouse, it will be 0.5 when a button is pressed and 0.0 otherwise."],
     ['speed', 5.0, False, "How fast you currently move. This can change very quickly. Try 'print input values' from the 'help' menu to get a feeling for the range."],
     ['speed2', 5.0, False, "Same as speed, but changes slower. Also look at the 'speed2 slowness' setting."],
+    ['speed_log', 5.0, False, "log(1.0+speed) - speed seems to react too strong FIXME:experimental"],
+    ['speed_sqrt', 5.0, False, "sqrt(speed) - speed seems to react too strong FIXME:experimental"],
     ['random', 1.0, False, "Random noise, changing at each evaluation. Equally distributed between 0 and 1."],
     ['stroke', 1.0, True, "This input slowly goes from zero to one while you draw a stroke. It can also be configured to jump back to zero periodically while you move. Look at the 'stroke duration' and 'stroke hold time' settings."],
     ['custom', 1.0, True, "This is a user defined input. Look at the 'custom input' setting for details."],
index 8a12f9e..6d8c7d0 100644 (file)
@@ -209,6 +209,8 @@ void brush_update_settings_values (GtkMyBrush * b)
   inputs[INPUT_PRESSURE] = pressure;
   inputs[INPUT_SPEED]  = b->norm_speed_slow1 * 0.002;
   inputs[INPUT_SPEED2] = b->norm_speed_slow2 * 0.005;
+  inputs[INPUT_SPEED_LOG] = log(1.0 + b->norm_speed_slow1 * 0.002);
+  inputs[INPUT_SPEED_SQRT] = sqrt(b->norm_speed_slow1 * 0.002);
   inputs[INPUT_RANDOM] = g_random_double ();
   inputs[INPUT_STROKE] = MIN(b->stroke, 1.0);
   inputs[INPUT_CUSTOM] = b->custom_input;