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

World: r3wp

[AGG] to discus new Rebol/View with AGG

DideC
13-Jun-2005
[63x11]
n: 1
plot: [
	pen black line-width n
	arc 190x130 60x60 90 270
	arc 390x130 60x60 180 270
	arc 190x330 60x60 0 270
	arc 390x330 60x60 270 270
]
							
view center-face layout [
	bx: box 580x450 effect [draw plot]
	sl: slider 580x20 [
		n: 1 + (sl/data * 70)
		show bx
	]
]
...move the slider and see.
2) closed ARC does not work if angle goes up to 0° angle. Try :
n: 0
plot: [
	pen black line-width 2
	arc 190x130 60x60 90 n closed
	arc 390x130 60x60 180 n closed
	arc 190x330 60x60 0 n closed
	arc 390x330 60x60 270 n closed
]
							
view center-face layout [
	bx: box 580x450 effect [draw plot]
	sl: slider 580x20 [
		n: 1 + (sl/data * 360)
		show bx
	]
]
...move the slider slowly and see.
This one looks like a bug :-(
Easier to see with filled arcs :
n: 0
plot: [
	fill-pen red pen black line-width 5
	arc 190x130 60x60 90 n closed
	arc 390x130 60x60 180 n closed
	arc 190x330 60x60 0 n closed
	arc 390x330 60x60 270 n closed
]
							
view center-face layout [
	bx: box 580x450 effect [draw plot]
	sl: slider 580x20 [
		n: 1 + (sl/data * 360)
		show bx
	]
]
There is a missing STOP-ANGLE: STOP-ANGLE // 360 or something like 
that in the calculation.
Sorry to feed. A more complete test script :
rebol [title: "ARC's Draw command test"]

begin: angle: 0
lines?: 'closed
plot: [
	fill-pen red pen black line-width 5
	arc 100x100 90x90 begin angle lines?
]
							
view center-face layout [
	bx: box 200x200 effect [draw plot]
	across
	style vt vtext 60 right

 vt "Start:" scroller 392x16 [angle: face/data * 360 show bx] return

 vt "Angle:" scroller 392x16 [begin: face/data * 360 show bx] return

 vt "Type :" toggle "open it" "closed it" [either face/data [lines?: 
 none] [lines?: 'closed] show bx]
]
[unknown: 5]
13-Jun-2005
[74]
Pretty cool DideC
Cyphre
14-Jun-2005
[75]
DideC: thanks for the report, please add it to the RAMBO. This will 
be fixed in 1.3.1
DideC
14-Jun-2005
[76x2]
Ok, done.
What do you thinka of the first test (this group, yesterday 20:25) 
?
Cyphre
15-Jun-2005
[78]
It looks like some rounding or stroke generator problem. I need to 
investigate more soon.
DideC
15-Jun-2005
[79]
ok
shadwolf
15-Jun-2005
[80]
nice soft didec ;)
shadwolf
16-Jun-2005
[81]
I see a little problem into the starwars scrolling text effect make 
by Cyphre when playing it to 1.3 the text is oriented to the left
eFishAnt
20-Jun-2005
[82]
DideC, excellent graphics design.
shadwolf
20-Jun-2005
[83x2]
DideC Why don't you take 5 minutes of your precious time to make 
us a treview and a dir-resquestor for RebGUI ?
you can even make the base then I will enhance them if you prefer 
...
yeksoon
20-Jun-2005
[85x2]
very smooth drawings
and the best thing is... so short.... I can read it, memorise it 
and 'spit' it onto my vi without using copys
DideC
20-Jun-2005
[87]
Sorry, but what are you speaking about guys (Shadwolf, Steeve) ?
Not the small scripts above (except Yeksoon, I suppose) ?
BrianW
20-Jun-2005
[88]
DideC, those are great. Really easy to warm up to AGG with those 
:-)
DideC
20-Jun-2005
[89]
thanks
shadwolf
20-Jun-2005
[90x2]
no I'm talking about treeview and dir-requestor for rebgui based 
on your work on the request-dir.r as you yet have a good experience 
and some inovent ideas over this topic  I think it's natural to push 
you to contribute but I you doesn't want to I will take some weeks 
soon to do it  but it could be more painfull for me and less inventiv 
that the work you can do DideC
no I'm talking about treeview and dir-requestor for rebgui based 
on your work on the request-dir.r as you yet have a good experience 
and some inovent ideas over this topic  I think it's natural to push 
you to contribute but I you doesn't want to push you. I will take 
some weeks soon to do it  but it could be more painfull for me and 
less inventiv that the work you can do DideC
Anton
21-Jun-2005
[92]
shadwolf, do not avoid the pain.
Ashley
21-Jun-2005
[93]
SVG Demo: http://www.dobeash.com/files/svg-demo.zip
shadwolf
21-Jun-2005
[94]
a svg renderer in only 5k .... What a great job  !!!
Pekr
21-Jun-2005
[95x2]
is that "full" SVG renderer/parser?
but overall it is good - feels realtime. I wonder if SVG has future? 
Is that new replacement for technology as DHTML, which never became 
widely used? There is plenty of W3C XML stuff, I wonder if they keep 
that under control or what the future of the web holds ....
shadwolf
21-Jun-2005
[97x9]
yes
I have connection problems  :((((
some times Altme Hang and I can't send or receive message but altme 
stay connected ...
PekR yes 5K  script for SVG parsing to Draw/AGG then rendering engine 
AShley have done thanks to REBOL/View 1.3 the smallest and fastest 
SVG renderer I saw until now ;)
I milite to integer it into the REBOL/view release ;)
I'm downloading inkshape I will start to provide to ASHLEY a set 
of SVG icons in totally abandon licence ....
my first svg draw make with inkscape (linux/win32..) http://shadwolf.free.fr/new-file.svg
but it seems that inkscape SVG files are not properly supported by 
svg-demo ...
I try with sodipodi
yeksoon
21-Jun-2005
[106]
there seems to be some slightly difference between what Inkscape 
and SVGDemo renders.

eg. blender.svg

on Inkscape, there's an orange fill... on svg demo, it appears as 
a black fill.


I am using the latest /View...so, probably not a /View version problem.
shadwolf
21-Jun-2005
[107]
hum sodipodi windows version doesn't work ...
Cyphre
21-Jun-2005
[108x2]
Pekr: SVG is pretty bloated so don't expect you will have 'full' 
SVG parser in 5k :-)
Anyway nice demo Ashley.
shadwolf
21-Jun-2005
[110x3]
it's a very first intent so we will enhance it ;)
yeksoon the .svg files provided with svg-demo.R are do using sidopodi 
workbench
I use inkscape to make new-file.svg and this one doesn't load at 
all