napolean
13th August 2001 18:01 UTC
Diagonal lines ... SUPERSCOPES
I want to know how can I draw a diagonal line on the superscopes, I'm working on my avs pack, almost complete.. but I'm doing the presentation preset and I want to know how to draw a DIAGONAL LINE :)
I know how to draw vertical and horizontal lines.! :D
But I miss the diagonal... PLEASE HELP ME !!!!!!!!
ParaNoya
13th August 2001 23:13 UTC
Free ParaNoya Advice
diagonal that's easy. just type x=i;y=i in the point section et voila a diagonal line. :)
napolean
14th August 2001 00:08 UTC
Ok , It make a diagonal line but how can I control it ??
position, and lenght ?? can you give me a simple example ?? I want a diagonal line like "/" and "\"
If You can help me, a apreciate !
NApoleAN
Kobold
14th August 2001 11:08 UTC
Do like this
Init:
n=2;dr=1;ln=0.3;ps=0.1
Pixel:
x=i*ln+ps;
y=dr*(i*ln+ps)
dr=direction (1=\, -1=/)
ln=length of the line
ps=shift amount