World: r3wp
[View] discuss view related issues
older newer | first last |
Geomol 2-Sep-2005 [2476x2] | I can't skip "show canvas" on key-presses, because then you might not see the change (e.g. the brush getting larger). |
James, what? Try latest version. | |
Henrik 2-Sep-2005 [2478] | is it possible to detect a key release? you could force a show there |
Geomol 2-Sep-2005 [2479x2] | Henrik, nope. |
Only key presses in REBOL (so far). | |
Henrik 2-Sep-2005 [2481] | ah too bad |
james_nak 2-Sep-2005 [2482] | G, OK, works fine. Thanks. |
Henrik 2-Sep-2005 [2483] | someone I talked to, really wanted a Brilliance interface rather than a DPaint one. With redefinable hotkeys and a separate interface layer, this should be possible, shouldn't it? |
Geomol 2-Sep-2005 [2484x2] | Yes, when modules are implemented. (My little plan.) ;-) |
New version with color pick tool (comma key) uploaded. It's also possible to choose right-click color. | |
Henrik 2-Sep-2005 [2486] | bug: draw and hold the mouse button down. now press E |
Geomol 2-Sep-2005 [2487x2] | check! |
hmm difficult one. In DPaint, you can change tool in the middle of something (like you did). Does it makes sense? Maybe it shouldn't be possible to change tool while drawing!? | |
Henrik 2-Sep-2005 [2489] | it probably doesn't really make sense unlike you like to paint in realtime :-) |
Geomol 2-Sep-2005 [2490x2] | Problem in "Canvas" is, that I do lots of things depending on tool, when the mouse is pressed. That now also has to be done, when a key is being pressed. Not good. I'll make sure, you can't change tool while drawing. Will solve problem. |
Fixed. New version uploaded. | |
Henrik 2-Sep-2005 [2492] | with the polygon tool, when using a large brush, the polygon is drawn with sharp edges. is this correct behaviour? |
Geomol 2-Sep-2005 [2493] | If filled polygon (W), then yes. Not-filled polygon (w) has round edges. |
Henrik 2-Sep-2005 [2494] | I get sharp edges here... |
Geomol 2-Sep-2005 [2495x3] | ups, a bug. Yes, got it too in second go. |
Fixed. New version uploaded. | |
It seems, the DRAW dialect "line-cap" doesn't have effect with "polygon", so I changed it to use "line". | |
Henrik 2-Sep-2005 [2498] | ok, is it also intentional that the first line in a poly must be drawn by dragging the line with the mouse button down while the rest don't require this? |
Geomol 2-Sep-2005 [2499] | Yes, that's the behaviour in DPaint. Think of it, as a line is fixed, when you release the button. Then it is same behaviour with all points. You can also drag the rest of the lines, as the first. |
Henrik 2-Sep-2005 [2500x2] | alrighty then |
looking forward to flood fill :-) | |
Geomol 2-Sep-2005 [2502] | lol Me too! That won't be easy, as DRAW doesn't support flood fill. |
Henrik 2-Sep-2005 [2503] | auch |
Geomol 2-Sep-2005 [2504] | And what about anti-aliasing at the edges? Uuuhh not easy. |
james_nak 2-Sep-2005 [2505] | What about brushes? :^) |
Geomol 2-Sep-2005 [2506] | Yes, brushes will probably come first. |
Henrik 2-Sep-2005 [2507] | definitely not. proper flood filling is a per pixel operation and is doomed to be slow here... |
james_nak 2-Sep-2005 [2508] | I suppose a "Save" feature is getting close to the top of the list. |
Geomol 2-Sep-2005 [2509] | Save .bmp and .png is no problem. But shouldn't it support IFF too? :-) |
james_nak 2-Sep-2005 [2510] | For anims yes :^) |
Henrik 2-Sep-2005 [2511] | of course we expect compressed IFF-ANIM5 to be ready by tomorrow :-) |
Geomol 2-Sep-2005 [2512] | Okay! Then you need another developer also. ;-P |
Henrik 2-Sep-2005 [2513] | well, some parts can be done separately, can't they? I did the button menu, so I would suspect a thing like a real palette requester could be done separately. |
Geomol 2-Sep-2005 [2514] | sure |
Ashley 2-Sep-2005 [2515] | Great progress guys, I think this project deserves its own group now. ;) |
Henrik 2-Sep-2005 [2516] | but.. what is the name of the program? :-) |
Ashley 2-Sep-2005 [2517] | REBOL Paint? |
Henrik 2-Sep-2005 [2518] | dunno... I guess it doesn't matter right now. also it seems the canvas.r will be somewhat modular so you can throw any interface on top of it |
DideC 2-Sep-2005 [2519] | RPaint ? ;-) |
Graham 2-Sep-2005 [2520] | GeoPaint |
Henrik 2-Sep-2005 [2521] | there was one called KoalaPaint. what about PandaPaint? :-) |
Geomol 3-Sep-2005 [2522x2] | Why not just "Canvas"? That's what it is (when it's more complete), a canvas, where you can use different tools to put paint on. I searched Google, and found a program called "Canvas Paint", which is based on the canvas widget of Tcl/Tk. That's not a problem, I think. There's another called "3D Canvas", also different. "Canvas" it is. |
I don't have much time today, but next thing, I'll do, is to reimplement the brush, so different shapes are possible. And so you can select an area of the image as a brush. | |
Anton 3-Sep-2005 [2524] | I've got a flood algorithm: http://www.lexicon.net/antonr/rebol/library/flood-recurse.r do http://www.lexicon.net/antonr/rebol/demo/demo-flood.r |
eFishAnt 3-Sep-2005 [2525] | as my Furby says, "Yummm..." (guess the world is your canvas, Geomol) |
older newer | first last |