Skip to content
Forum Archive

Diagonal lines ... SUPERSCOPES

4 posts

napolean#

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.! 😁
But I miss the diagonal... PLEASE HELP ME !!!!!!!!
ParaNoya#
Free ParaNoya Advice

diagonal that's easy. just type x=i;y=i in the point section et voila a diagonal line. 🙂
napolean#
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#
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