Go back
scalable vector graphics

scalable vector graphics

Site Ideas

t
Xebite

in front of you

Joined
06 Jan 03
Moves
17423
Clock
07 Oct 05
Vote Up
Vote Down

I know that generating images (GD-libs) with php is too much work for the server and that's the reason why we have these tricky and beautiful javascript graph.
Some time ago I discovered SVG (and Inkscape). Why not use this (new) technology for some (stat-)gaphs on this site.
Yes, right now just Opera and soon Firefox will support it, but this could be fun, no?

Aiko

Joined
23 Mar 04
Moves
254911
Clock
07 Oct 05
Vote Up
Vote Down

Can you explain the technical details? Sounds interesting.

B
Non-Subscriber

RHP IQ

Joined
17 Mar 05
Moves
1345
Clock
07 Oct 05
Vote Up
Vote Down

Originally posted by Aiko
Can you explain the technical details? Sounds interesting.
Translation: "I don't understand! What the hell are you talking about?"

t
Xebite

in front of you

Joined
06 Jan 03
Moves
17423
Clock
07 Oct 05
Vote Up
Vote Down

the idea of scalabe vector graphics is to describe a picture and not to tell which pixel looks how. This is a bad way for photos and a good way of "artificial" graphics like chesspieces and ratinggraphs. Such is "picture" is just (XML)text, which say from here to here is a line, there is a filled ractangle and these is an ellipse with a gradient (changing color).
Such a text is very fast and easy generated and it's the browser who does the rendering ("computing how the picture looks like"😉, so I thought this idea could be interesting for Russ.
For example the rating graph is just a huge number of ractanges. And there are some others...
Got what I mean?

Aiko

Joined
23 Mar 04
Moves
254911
Clock
08 Oct 05
1 edit
Vote Up
Vote Down

Ah, with XML you can build the vectors, I understand. That was what I wanted to know, basically. Knew what vectors are of course, was wondering how one can build it into the RHP system.

I think it is a very nice idea.

f
Quack Quack Quack !

Chesstralia

Joined
18 Aug 03
Moves
54533
Clock
08 Oct 05
1 edit
Vote Up
Vote Down

Originally posted by thire
the idea of scalabe vector graphics is to describe a picture and not to tell which pixel looks how. This is a bad way for photos and a good way of "artificial" graphics like chesspieces and ratinggraphs. Such is "picture" is just (XML)text, which say from here to here is a line, there is a filled ractangle and these is an ellipse with a gradient (changing ...[text shortened]... rating graph is just a huge number of ractanges. And there are some others...
Got what I mean?
when i was a kid we had a victor lawnmower ... it could scale any grasses.

scalable victor grasses are everywhere.

i also recomend that russ gets a victor.

Russ
RHP Code Monkey

RHP HQ

Joined
21 Feb 01
Moves
2450
Clock
10 Oct 05
Vote Up
Vote Down

If there was browser support for it, I would adopt right away - scalable graphics can be nicer these days due to the vastly different resolutions people use on their desktop.

-Russ

t
Xebite

in front of you

Joined
06 Jan 03
Moves
17423
Clock
11 Oct 05
Vote Up
Vote Down

so you will rethink about it, when IE, Opera and Firefox have it?
th

Russ
RHP Code Monkey

RHP HQ

Joined
21 Feb 01
Moves
2450
Clock
11 Oct 05
Vote Up
Vote Down

Yes.

-Russ

t
Xebite

in front of you

Joined
06 Jan 03
Moves
17423
Clock
12 Oct 05
Vote Up
Vote Down

I'll remind you on that one 😉
Dont delete this thread! 😠 😉
th

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.