Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Bill Kendrick <nbs@so...> - 2006-09-04 19:17:53
|
The following features were implemented last night and will be available, in Tux Paint 0.9.16! There are new options available for creating brushes. You can create a ".dat" text file for the brush (e.g., "my_brush.dat" for "my_brush.png') to activate one or more the following features: * Animated Brushes ---------------- Draw various shapes, evenly spaced across a PNG image, and Tux Paint will cycle through them as it paints with the brush. Add a line with "frames=N" to the data file, where N is the number of frames. Example: Say you have three frames of a spinning triangle in a 30x30 area: The image should be 90x30 in size, with the three triangle shapes positoned evenyl across the image, and "frames=3" should be added to the ".dat" file. * Directional Brushes ------------------- Draw nine different shapes, in a 3x3 grid in your PNG image, and Tux Paint will use different ones depending on the direction the brush is being drawn (i.e., by the mouse or by the 'Lines' tool). Add a line containing the word "directional' to the data file. Example: Say you want to be able to paint a 40x40 racecar shape as the mouse is moved, with the car going the same direction as the brush stroke: The image should be 120x120 in size, with the car going 'north' drawn in the top-center section of the PNG, the car going south west in the bottom-left section, and so on. (The very center is used for no motion -- e.g., a single 'Paint' tool click.) * Spacing adjustements -------------------- Previously, Tux Paint spaced brushes based on the PNG's height, divded by 4. You can now override this by adding a line to the brush's data file. Add a line with "spacing=N" to the data file, where N is the spacing you want between brush strokes. 0 or 1 means 'constantly paint'. Higher numbers space the brush strokes further apart. If it's the same size as the brush's width and/or height, the strokes will be next to each other. Make N even twice that for a dotted-line effect. Example: In the racecar example above, you probably don't want cars blending together as you paint. Set the spacing to at least 40 (the size of the racecar shapes) so that they don't overlap when you use the brush. * Colored Brush Details --------------------- Finally, any color (non-greyscale) pixels in PNGs are utilized. (Before, the color/detail was ignored, and ONLY the alpha transparency was used.) Pixels which aren't greyscaled are now tinted[*], rather than drawn as a solid on/off version of the currently-selected paint color in Tux Paint. Three new brushes have been added (so far) that demonstrate these new features: * "lines-angled" - Directional Draws "|||" when you move left/right, "==" when you draw up/down, "//" and "\\" when you draw diagonally. * "vines" - Animated, color Draws various patterns of vine leaves, allowing you to easily create a bushy texture. (This is stolen from The GIMP's brushes.) * "squirrel" - Animated, directional, color, spacing YES! You can have animated, directional brushes! This cycles between three frames of a little cartoon squirrel running around. It runs in the direction you're painting. They're spaced apart such that you end up with what looks like a trail of squirrels chasing each other! Enjoy! :) [*] The Red, Green and Blue values of the PNG's pixels are currently simply averaged together with the Red, Green and Blue values of the currently-selected paint color in Tux Paint. -- -bill! bill@... http://www.newbreedsoftware.com/ |
From: Chaim Glassman <cglassman@ya...> - 2006-09-04 23:41:00
Attachments:
Message as HTML
|
Greetings Mr. Bill Kendrick, I want to thank you for creating Tux Paint. My kids really enjoy your software. I was wondering if you could explain to me how I could add additional colors to the program. Thank you again for your great work. Sincerely, Chaim Glassman Brooklyn, NY Bill Kendrick <nbs@...> wrote: The following features were implemented last night and will be available, in Tux Paint 0.9.16! There are new options available for creating brushes. You can create a ".dat" text file for the brush (e.g., "my_brush.dat" for "my_brush.png') to activate one or more the following features: * Animated Brushes ---------------- Draw various shapes, evenly spaced across a PNG image, and Tux Paint will cycle through them as it paints with the brush. Add a line with "frames=N" to the data file, where N is the number of frames. Example: Say you have three frames of a spinning triangle in a 30x30 area: The image should be 90x30 in size, with the three triangle shapes positoned evenyl across the image, and "frames=3" should be added to the ".dat" file. * Directional Brushes ------------------- Draw nine different shapes, in a 3x3 grid in your PNG image, and Tux Paint will use different ones depending on the direction the brush is being drawn (i.e., by the mouse or by the 'Lines' tool). Add a line containing the word "directional' to the data file. Example: Say you want to be able to paint a 40x40 racecar shape as the mouse is moved, with the car going the same direction as the brush stroke: The image should be 120x120 in size, with the car going 'north' drawn in the top-center section of the PNG, the car going south west in the bottom-left section, and so on. (The very center is used for no motion -- e.g., a single 'Paint' tool click.) * Spacing adjustements -------------------- Previously, Tux Paint spaced brushes based on the PNG's height, divded by 4. You can now override this by adding a line to the brush's data file. Add a line with "spacing=N" to the data file, where N is the spacing you want between brush strokes. 0 or 1 means 'constantly paint'. Higher numbers space the brush strokes further apart. If it's the same size as the brush's width and/or height, the strokes will be next to each other. Make N even twice that for a dotted-line effect. Example: In the racecar example above, you probably don't want cars blending together as you paint. Set the spacing to at least 40 (the size of the racecar shapes) so that they don't overlap when you use the brush. * Colored Brush Details --------------------- Finally, any color (non-greyscale) pixels in PNGs are utilized. (Before, the color/detail was ignored, and ONLY the alpha transparency was used.) Pixels which aren't greyscaled are now tinted[*], rather than drawn as a solid on/off version of the currently-selected paint color in Tux Paint. Three new brushes have been added (so far) that demonstrate these new features: * "lines-angled" - Directional Draws "|||" when you move left/right, "==" when you draw up/down, "//" and "\\" when you draw diagonally. * "vines" - Animated, color Draws various patterns of vine leaves, allowing you to easily create a bushy texture. (This is stolen from The GIMP's brushes.) * "squirrel" - Animated, directional, color, spacing YES! You can have animated, directional brushes! This cycles between three frames of a little cartoon squirrel running around. It runs in the direction you're painting. They're spaced apart such that you end up with what looks like a trail of squirrels chasing each other! Enjoy! :) [*] The Red, Green and Blue values of the PNG's pixels are currently simply averaged together with the Red, Green and Blue values of the currently-selected paint color in Tux Paint. -- -bill! bill@... http://www.newbreedsoftware.com/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Tuxpaint-devel mailing list Tuxpaint-devel@... https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. |
From: Chaim Glassman <cglassman@ya...> - 2006-09-04 23:41:57
Attachments:
Message as HTML
|
Greetings Mr. Bill Kendrick, I want to thank you for creating Tux Paint. My kids really enjoy your software. I was wondering if you could explain to me how I could add additional colors to the program. Thank you again for your great work. Sincerely, Chaim Glassman Brooklyn, NY Bill Kendrick <nbs@...> wrote: The following features were implemented last night and will be available, in Tux Paint 0.9.16! There are new options available for creating brushes. You can create a ".dat" text file for the brush (e.g., "my_brush.dat" for "my_brush.png') to activate one or more the following features: * Animated Brushes ---------------- Draw various shapes, evenly spaced across a PNG image, and Tux Paint will cycle through them as it paints with the brush. Add a line with "frames=N" to the data file, where N is the number of frames. Example: Say you have three frames of a spinning triangle in a 30x30 area: The image should be 90x30 in size, with the three triangle shapes positoned evenyl across the image, and "frames=3" should be added to the ".dat" file. * Directional Brushes ------------------- Draw nine different shapes, in a 3x3 grid in your PNG image, and Tux Paint will use different ones depending on the direction the brush is being drawn (i.e., by the mouse or by the 'Lines' tool). Add a line containing the word "directional' to the data file. Example: Say you want to be able to paint a 40x40 racecar shape as the mouse is moved, with the car going the same direction as the brush stroke: The image should be 120x120 in size, with the car going 'north' drawn in the top-center section of the PNG, the car going south west in the bottom-left section, and so on. (The very center is used for no motion -- e.g., a single 'Paint' tool click.) * Spacing adjustements -------------------- Previously, Tux Paint spaced brushes based on the PNG's height, divded by 4. You can now override this by adding a line to the brush's data file. Add a line with "spacing=N" to the data file, where N is the spacing you want between brush strokes. 0 or 1 means 'constantly paint'. Higher numbers space the brush strokes further apart. If it's the same size as the brush's width and/or height, the strokes will be next to each other. Make N even twice that for a dotted-line effect. Example: In the racecar example above, you probably don't want cars blending together as you paint. Set the spacing to at least 40 (the size of the racecar shapes) so that they don't overlap when you use the brush. * Colored Brush Details --------------------- Finally, any color (non-greyscale) pixels in PNGs are utilized. (Before, the color/detail was ignored, and ONLY the alpha transparency was used.) Pixels which aren't greyscaled are now tinted[*], rather than drawn as a solid on/off version of the currently-selected paint color in Tux Paint. Three new brushes have been added (so far) that demonstrate these new features: * "lines-angled" - Directional Draws "|||" when you move left/right, "==" when you draw up/down, "//" and "\\" when you draw diagonally. * "vines" - Animated, color Draws various patterns of vine leaves, allowing you to easily create a bushy texture. (This is stolen from The GIMP's brushes.) * "squirrel" - Animated, directional, color, spacing YES! You can have animated, directional brushes! This cycles between three frames of a little cartoon squirrel running around. It runs in the direction you're painting. They're spaced apart such that you end up with what looks like a trail of squirrels chasing each other! Enjoy! :) [*] The Red, Green and Blue values of the PNG's pixels are currently simply averaged together with the Red, Green and Blue values of the currently-selected paint color in Tux Paint. -- -bill! bill@... http://www.newbreedsoftware.com/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Tuxpaint-devel mailing list Tuxpaint-devel@... https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail. |
From: Karl Ove Hufthammer <karl@hu...> - 2006-09-05 18:08:17
|
M=E5ndag 04 september 2006 21:17 skreiv Bill Kendrick: >=A0 * "lines-angled" - Directional > >=A0 =A0 Draws "|||" when you move left/right, "=3D=3D" when you draw up/do= wn, >=A0 =A0 "//" and "\\" when you draw diagonally. It looks like this is used when using the shapes tool, too. I take it this is a bug? =2D-=20 Karl Ove Hufthammer Jabber: karl@... |
From: Bill Kendrick <nbs@so...> - 2006-09-05 21:07:08
|
On Tue, Sep 05, 2006 at 08:08:02PM +0200, Karl Ove Hufthammer wrote: > M=E5ndag 04 september 2006 21:17 skreiv Bill Kendrick: > >=A0 * "lines-angled" - Directional > > > >=A0 =A0 Draws "|||" when you move left/right, "=3D=3D" when you draw u= p/down, > >=A0 =A0 "//" and "\\" when you draw diagonally. >=20 > It looks like this is used when using the shapes tool, too. > I take it this is a bug? Oh, indeed it is! I guess I need to take more care in which brush is being used to stroke shapes. Thanks! -bill! |
From: Bill Kendrick <nbs@so...> - 2006-09-06 22:59:23
|
On Tue, Sep 05, 2006 at 08:08:02PM +0200, Karl Ove Hufthammer wrote: > M=E5ndag 04 september 2006 21:17 skreiv Bill Kendrick: > >=A0 * "lines-angled" - Directional > > > >=A0 =A0 Draws "|||" when you move left/right, "=3D=3D" when you draw u= p/down, > >=A0 =A0 "//" and "\\" when you draw diagonally. >=20 > It looks like this is used when using the shapes tool, too. > I take it this is a bug? Hehe... from do_shape(): /* Render a default brush: */ if (use_brush) { old_brush =3D cur_brush; cur_brush =3D 0; /* Kludgy! */ render_brush(); } I'll fix that. ;) --=20 -bill! bill@... http://www.newbreedsoftware.com/ |
From: Bill Kendrick <nbs@so...> - 2006-09-10 18:48:37
|
On Mon, Sep 04, 2006 at 04:41:49PM -0700, Chaim Glassman wrote: > Greetings Mr. Bill Kendrick, > I want to thank you for creating Tux Paint. My kids really enjoy your software. I was wondering if you could explain to me how I could add additional colors to the program. Thank you again for your great work. Tux Paint 0.9.16 will include a new option called "colorfile." This lets you point Tux Paint to a plain text file that defines the colors you wish to use in Tux Paint. For example: tuxpaint --colorfile /home/kendrick/bright.txt or add something like this to your configuration file (e.g., "~/.tuxpaintrc") colorfile=/home/kendrick/bright.txt The file itself describes each color, one line at a time. Colors may be in decimal or 3- or 6-digit hexadecimal. For example, all three of the following are the same: 240 192 64 Tan! #F0C040 Tan! #FC4 Tan! Color values are listed as Red, Green and Blue between 0 (or #0 aka #00) and 255 (or #FF), and can be followed by a text description. Note that decimal values must begin with a "#" and be either 3 or 6 digits long. If it's three digits, then the low nybbles are set to zero. (e.g., "#FFF" becomes "#F0F0F0", which isn't quite white.) You should be able to use any paint program or web color-picker tool to get hex or decimal RGB values for the colors you want. I'll include the colors currently built-into Tux Paint as an example file ("default_colors.txt" in the 'docs' folder). Enjoy! -bill! |
From: Albert Cahalan <acahalan@gm...> - 2006-09-10 21:19:37
|
On 9/10/06, Bill Kendrick <nbs@...> wrote: > Color values are listed as Red, Green and Blue between 0 (or #0 aka #00) > and 255 (or #FF), and can be followed by a text description. > > Note that decimal values must begin with a "#" and be either 3 or 6 digits > long. If it's three digits, then the low nybbles are set to zero. > (e.g., "#FFF" becomes "#F0F0F0", which isn't quite white.) I know that is what X does, but it's horribly broken. Better: #abc means #aabbcc. Linear float (0 to 1, with decimal point) could be nice. There is some support for having more than one row of colors. The user should be able to specify this. If the user does not specify it, perhaps Tux Paint should set the number of rows to make the color patches most square. |
From: Bill Kendrick <nbs@so...> - 2006-09-10 21:39:32
|
On Sun, Sep 10, 2006 at 05:13:22PM -0400, Albert Cahalan wrote: > On 9/10/06, Bill Kendrick <nbs@...> wrote: > > Color values are listed as Red, Green and Blue between 0 (or #0 aka #00) > > and 255 (or #FF), and can be followed by a text description. > > > > Note that decimal values must begin with a "#" and be either 3 or 6 digits > > long. If it's three digits, then the low nybbles are set to zero. > > (e.g., "#FFF" becomes "#F0F0F0", which isn't quite white.) > > I know that is what X does, but it's horribly broken. > Better: #abc means #aabbcc. Fine by me. I'd never use the 3-digit ones, since I rarely see them. > Linear float (0 to 1, with decimal point) could be nice. I'll add it to the to-do for now. > There is some support for having more than one row > of colors. The user should be able to specify this. If the > user does not specify it, perhaps Tux Paint should set > the number of rows to make the color patches most square. How is this support activated? (I'd check the code, but I'm starving and think I'm done for the day ;) ) -bill! |
From: Karl Ove Hufthammer <karl@hu...> - 2006-09-11 07:11:32
|
Sundag 10. september 2006 23:13 skreiv Albert Cahalan: > > Note that decimal values must begin with a "#" and be either 3 or > > 6 digits long. =A0If it's three digits, then the low nybbles are > > set to zero. (e.g., "#FFF" becomes "#F0F0F0", which isn't quite > > white.) > > I know that is what X does, but it's horribly broken. > Better: #abc means #aabbcc. I agree. This is the way colours are specified in CSS too. =2D-=20 Karl Ove Hufthammer |