Thread: [Tuxpaint-devel] Comments about some magic tools
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Pere P. i C. <pe...@fo...> - 2008-07-14 16:57:53
|
Hi all! Some bugs, enhancement requests and ideas: Enhancement requests: Folder: Can be improved if click is used to select the corner, then drag to were he want the corner go, do some calculation about how a sheet should be plyed to get the corner there. You also can do a rough "preview" like flower does. Then, in mouse release, draw it. Some maths suposing 0,0 corner having to go to 100,200: half point between 0,0 and 100,200 = (0+100)/2,(0+200)/2 = 50,100 Here you should check if there will not be a "by zero" division, then 0x point = 0,(50 + 100*100/50) = 0,250 0y point = (100 + 50*50/100),0 = 125,0 so you end up with lines from 125,0 to 100,200 from 125,0 to 0,250 from 0,250 to 100,200 Black and white: Can be converted to "color and white" just picking the color like other magic tools do. The same is valid for threshold. Bugs: Flower, just noticed this: if you draw a horizontal flower you don't get leafs. Jigsaw, works right at 800x600, but at 640x480 I get pieces cutted at the edge, and in bigger screens, the jigsaw is covering just the 800x600 topleft portion of the image An idea for new magic tools: I've been always fascined by those animations were a plant grows from zero, or a flower opens, or clouds running accross the sky, etc. Theese can be implemented in two ways: a) A sequence of some images, starting on mouse click, showing the next image each second and drawing the image present on mouse release. Depending on the animations, they can be positioned on mouse click or aligned to a edge of the draw b) A computed animation like some screensavers do, starting on mouse click and ending on mouse release. Even the direction of the animation (when possible) can be controlled on mouse drag. Hope this helps Pere |
|
From: Andrew C. <aka...@gm...> - 2008-07-15 18:50:22
|
> Hi all! > > Some bugs, enhancement requests and ideas: > > > Enhancement requests: > > Folder: Can be improved if click is used to select the corner, then drag > to were he want the corner go, do some calculation about how a sheet > should be plyed to get the corner there. You also can do a rough > "preview" like flower does. Then, in mouse release, draw it. > > Some maths suposing 0,0 corner having to go to 100,200: > half point between 0,0 and 100,200 = (0+100)/2,(0+200)/2 = 50,100 > Here you should check if there will not be a "by zero" division, then > 0x point = 0,(50 + 100*100/50) = 0,250 > 0y point = (100 + 50*50/100),0 = 125,0 > > so you end up with lines > from 125,0 to 100,200 > from 125,0 to 0,250 > from 0,250 to 100,200 > > > > Black and white: Can be converted to "color and white" just picking the > color like other magic tools do. The same is valid for threshold. I'm currently working on converting my current tools to the new api but thats something ill definitely put on my list of things to do. > > > > > Bugs: > > Flower, just noticed this: if you draw a horizontal flower you don't get > leafs. > > Jigsaw, works right at 800x600, but at 640x480 I get pieces cutted at > the edge, and in bigger screens, the jigsaw is covering just the 800x600 > topleft portion of the image Ah my bad, I didnt think about people using different resolutions. After discussing things with bill and caroline I've changed this feature to work from a starter image instead (jigsaw_3x3.png and jigsaw_5x5.png on the cvs) and deleted the magic tool. I've got plans for a more "artistic" jigsaw which will take the form of a magic tool but that might be some way down the road, so for the time being ive removed the jigsaw magic tool from the cvs and replaced it with the starter images. > > > > An idea for new magic tools: > I've been always fascined by those animations were a plant grows from > zero, or a flower opens, or clouds running accross the sky, etc. Theese > can be implemented in two ways: > > a) A sequence of some images, starting on mouse click, showing the next > image each second and drawing the image present on mouse release. > Depending on the animations, they can be positioned on mouse click or > aligned to a edge of the draw > > b) A computed animation like some screensavers do, starting on mouse > click and ending on mouse release. Even the direction of the animation > (when possible) can be controlled on mouse drag. > > > > Hope this helps > Pere > > > > > ------------------------------ > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > ------------------------------ > > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > End of Tuxpaint-devel Digest, Vol 26, Issue 16 > ********************************************** > |
|
From: Bill K. <nb...@so...> - 2008-07-15 19:37:55
|
On Mon, Jul 14, 2008 at 06:57:02PM +0200, Pere Pujal i Carabantes wrote: > Folder: Can be improved if click is used to select the corner, then drag > to were he want the corner go, do some calculation about how a sheet > should be plyed to get the corner there. You also can do a rough > "preview" like flower does. Then, in mouse release, draw it. Good idea! <snip> > Black and white: Can be converted to "color and white" just picking the > color like other magic tools do. The same is valid for threshold. Also a good idea! > Flower, just noticed this: if you draw a horizontal flower you don't get > leafs. That's a design issue. :) But I guess I can add a bug report about it, and see what we can do, some day. :) > Jigsaw, works right at 800x600, but at 640x480 I get pieces cutted at > the edge, and in bigger screens, the jigsaw is covering just the 800x600 > topleft portion of the image Andrew has just gone ahead and created a pair of Jigsaw starter images. We discussed how he could implement a Magic tool that paints the Jigsaw pieces onto the image, similar to how Bricks works. <snip> > An idea for new magic tools: > I've been always fascined by those animations were a plant grows from > zero, or a flower opens, or clouds running accross the sky, etc. Theese > can be implemented in two ways: > > a) A sequence of some images, starting on mouse click, showing the next > image each second and drawing the image present on mouse release. > Depending on the animations, they can be positioned on mouse click or > aligned to a edge of the draw Right now there's no way to fire off timer-based events like this using the Magic Tool API. Perhaps we can consider this in the future. I think we have enough things to iron out in the meantime, though! > b) A computed animation like some screensavers do, starting on mouse > click and ending on mouse release. Even the direction of the animation > (when possible) can be controlled on mouse drag. I'm not 100% sure I understand this one. Have you looked at the animated and directional brushes with the Paint and Line tools? The cat, for example, has different frames of it running around, and it leaves a trail of cats that chase your mouse pointer. :) -- -bill! "Tux Paint" - free children's drawing software for Windows / Mac OS X / Linux! Download it today! http://www.tuxpaint.org/ |
|
From: Pere P. i C. <pe...@fo...> - 2008-07-16 12:58:30
|
Hi! Bill Kendrick wrote: > On Mon, Jul 14, 2008 at 06:57:02PM +0200, Pere Pujal i Carabantes wrote: > > We discussed how he could implement a Magic tool that paints the > Jigsaw pieces onto the image, similar to how Bricks works. I think it would be better to control in a way similar as waves does: click or drag mouse to bottom-left to get a 2x2 puzzle, click or drag to upper-right to get a 5x4 one. Change on the intermediate states as long as you click or drag the mouse on the screen. Be sure to not draw a jigsaw with _lots_ of pieces or nobody will cut it :). > > b) A computed animation like some screensavers do, starting on mouse > > click and ending on mouse release. Even the direction of the animation > > (when possible) can be controlled on mouse drag. > > > > I'm not 100% sure I understand this one. I mean something like the 4 or 5 first xscreensavers in this demo does: http://www.youtube.com/watch?v=SadVTuWI6cw They begin to draw on a part of the screen (the image on tuxpaint) and continue filling the screen until someone stops them (mouse release on my idea) Supose a spiral: you start drawing at mouse click, as soon as you compute a part of the spiral, you draw this part. The user will see the spiral growing (like an animation), and will be able to stop the grow on mouse release. Even you can deform the way this spiral grows on mouse drag by atracting the center or the spires to the new mouse position. Yours Pere |