[REBOL] deceleration !
From: frederic::email::wanadoo::fr at: 10-Oct-2002 17:35
Hi all !!
i'm new in rebol and i'm not good in english so i'd try to be clear.
I just test a script from auverlot's book, here it is :
view layout [
b: box 400x400 white feel [
detect: func [face event] [
switch event/type [
append b/effect/draw reduce [pos-xy]
append b/effect/draw reduce ['circle pos-xy 30 'line]
append b/effect/draw reduce ['fill-pen (random 255.255.255)
] effect [draw ['pen black 'line]]
So first when i moved around the mouse over the box very fast the pen seems
to follow very good.
but if i click down just one time (a circle is paint in the box), then
suddenly the pen seems to
be late. if i stop move the mouse, the pen ends up arriving, and if i move
fast again, the pen is
I don't understand why a simple draw circle command in a dynamic drawing
decrease the drawing performance.
I hope that you've understand my question. Thanks in advance to all.