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-May-2006
[4995]
>> image-size? get first [help.gif]
== 48x48
Henrik
2-May-2006
[4996]
precisely what I'm using now
Geomol
2-May-2006
[4997x2]
oki
ops, I skipped Gabriele's post. There it was! :)
Henrik
2-May-2006
[4999x2]
I'm not sure this is ready for announcement as it's still a prototype, 
so I'll put it here: http://www.hmkdesign.dk/rebol/toolbar/toolbar-demo.r
it's a toolbar with a simple dialect to alter the sequence of the 
buttons. the space between the buttons is flexible.
MichaelB
3-May-2006
[5001]
I like it and you thought also about the text to the buttons.
Anton
3-May-2006
[5002]
Yes, looks good.
ChristianE
3-May-2006
[5003]
It even resizes correctly! This will give apps a decent professional 
look.
Henrik
3-May-2006
[5004]
Feel free to use it. I haven't made docs yet and I plan to rewrite 
it (but not change the functionality). The source to toolbar-demo.r 
should be fairly explanatory.
JaimeVargas
3-May-2006
[5005]
Nice, I seethe  OSX influence ;-)
Henrik
3-May-2006
[5006]
not influence, blatant rip-off (cough!) :-)
james_nak
3-May-2006
[5007]
Quite Cool.
Henrik
12-May-2006
[5008]
I got bored and played around with gradients: http://www.hmkdesign.dk/rebol/bored.r
MichaelB
12-May-2006
[5009]
looks cool :-)
Henrik
12-May-2006
[5010]
what framerate do you get?
BrianW
12-May-2006
[5011]
hypnotically slow, but not a slideshow
Henrik
12-May-2006
[5012]
funny, my mac and the PC gives about the same framerate. the rate 
is set to 50, but I get about 5-7 fps on both machines.
BrianW
12-May-2006
[5013]
This is on Ubuntu
Henrik
12-May-2006
[5014]
I expected the mac to be about half as fast.
PhilB
12-May-2006
[5015]
Looks like a jet engine fan ...... on a P3 733 I get about 3 frames/sec
[unknown: 9]
12-May-2006
[5016x3]
How do you know the frame rate on a moving pattern?  It could be 
187 frames per second, and moving so fast that it appears to be moving 
slow, or even backwards : )
That aside, I get about 3 frames/sec on a 2Ghz system.
One can always change "r: r + 1 // 360" to "r: r + 10 // 360"

Oh...and very nice Henrik.
Henrik
12-May-2006
[5019x2]
it's a haphazard set of tuples, blocks and "oh hey that looks funny, 
I'll put that in" moments. presto, jet engine purely with gradients.
I think it's pretty good as a composite engine, although a bit slow 
way to draw things.
JaimeVargas
12-May-2006
[5021]
Henrick, you should get bored more often ;-)
Henrik
12-May-2006
[5022]
:-)
Anton
12-May-2006
[5023x2]
You can speed it up a little bit by doing this:
view/new/title center-face main: make-face/spec 'box [
  size: 400x400 
  rate: 50 feel: make feel [
ie. instead of using LAYOUT which makes a face with a box in it, 
just make the box.
Henrik
12-May-2006
[5025]
I see no speed difference, but maybe it needs to be measured.
Anton
12-May-2006
[5026]
Mmm... maybe I imagined it.... You have to admit it's a simpler face 
hierarchy though.
Henrik
12-May-2006
[5027]
yeah, but when showing the face, would that affect the rest of the 
layout?
Anton
12-May-2006
[5028]
Obviously the box effect consumes the most cpu, but I think since 
the box is inside another face, it needs to be copied into its frame 
buffer.
Henrik
12-May-2006
[5029]
I think the size of the face being refreshed has the most effect, 
even if two same-size faces are layered on top of eachother
Anton
13-May-2006
[5030]
Ah well, looks only about 1% faster.  I remember also Cyphre reporting 
that face refreshes speed up significantly when the offset is at 
0x0.
Henrik
13-May-2006
[5031x2]
that's very interesting
it would be nice to know more about this to better understand how 
to optimize such things
Anton
13-May-2006
[5033]
Yes it would.  Nice effect tby the way.
Henrik
13-May-2006
[5034]
thanks :-)
Anton
13-May-2006
[5035]
do http://home.wilddsl.net.au/anton/rebol/game/maze-generator.r
Volker
13-May-2006
[5036x2]
With enough memory you can prerender the images and simply play them. 
And after a few degrees it looks the same as before, so you can save 
a lot memory.
(was to Henrik)
Geomol
13-May-2006
[5038]
Looks interesting, Henrik!
Graham
13-May-2006
[5039]
Do the standard Vid gadgets not have double click support?
Henrik
13-May-2006
[5040]
well there is a way to detect a doubleclick
Graham
13-May-2006
[5041]
the second action block ... doesn't work.
Henrik
13-May-2006
[5042]
no, that's for alt action, not doubleclick
Graham
13-May-2006
[5043x2]
what is double click?
anyway, alt click doesn't work either.