r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

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
[2525x4]
as my Furby says,   "Yummm..."    (guess the world is your canvas, 
Geomol)
As my Furby says... "Yummm..."  (guess the world is your canvas, 
Geomol"
sorry about that repeat repeat...curious, AltME was really dragging. 
 Hmmn, related to canvas???
test
Graham
3-Sep-2005
[2529]
trying to flood this forum?
Geomol
4-Sep-2005
[2530x2]
:-)
Canvas group created.
Geomol
5-Sep-2005
[2532]
In the new DRAW dialect, should SCALE have influence on LINE-WIDTH?
DideC
5-Sep-2005
[2533]
Better ask in AGG ?
eFishAnt
6-Sep-2005
[2534]
can anyone outside of our firewall ping or see this? http://66.136.133.209
Anton
6-Sep-2005
[2535x2]
http://66.136.133.209
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Geomol
6-Sep-2005
[2537x4]
Pinger 66.136.133.209 med 32 byte data:

Svar fra 66.136.133.209: byte=32 tid=793ms TTL=234
Svar fra 66.136.133.209: byte=32 tid=604ms TTL=234
Svar fra 66.136.133.209: byte=32 tid=317ms TTL=234
Svar fra 66.136.133.209: byte=32 tid=753ms TTL=234
eFistAnt, LOL Why in group "View"? :)
That's one of the groups, I'm 'monitoring'. You made me look, so 
now you earn me a beer in Italy! ;-P
(if you show up)
Anton
6-Sep-2005
[2541]
connecting to: 66.136.133.209

** User Error: Error.  Target url: http://66.136.133.209/could not 
be retrieved.  Server response: HTTP/1.0 401 Unauthorized
** Near: cont: read http://66.136.133.209


Firefox: {Enter username and password for "level_15_or_view_access" 
at http://66.136.133.209}
(a security requester prompting for username and password).
Rebolek
7-Sep-2005
[2542]
I was trying to extend iterated faces example from http://www.rebol.com/docs/view-system.html#section-10
to support feel/over but with I was not very succesful. Iterated 
faces react on over (I'm changing color of edge) but when I click 
on one of the faces, now all other iterated faces' edges use the 
"over" color. Can anybody help me?
Geomol
8-Sep-2005
[2543]
What is a good way to check for certain values in an input field?

Let's say, I want to do an integer field, I've tried this as the 
action function:

if error? try [to-integer value] [set-face face 0]


It works first time, but if I try enter an integer afterwards, it 
just get settet to zero again. Any ideas?
Volker
8-Sep-2005
[2544]
maybe "0"? if you dump the later errors, it should say something 
like "cant append to an integer" your way".
Geomol
8-Sep-2005
[2545x3]
No, doesn't work setting it to "0". Try this:
view layout [field "0" [if error? try [to-integer value] [set-face 
face "0"]]]
You can enter integers at first, but if you enter a letter, it stops 
working.
Rebolek
8-Sep-2005
[2548]
I had the same problem and did not find a solution
Volker
8-Sep-2005
[2549x3]
You can note something to rambo:
view layout [field "0" [probe face/text probe value if error? err: 
try [to-integer value] [probe disarm err set-face face "0"]]]
the face/text contains the new value, but 'value itself stays on 
the buggy one.