Go Back   Winamp Forums > Visualizations > AVS

Reply
Thread Tools Search this Thread Display Modes
Old 13th August 2001, 17:01   #1
napolean
Junior Member
 
napolean's Avatar
 
Join Date: Jul 2001
Location: Portugal
Posts: 48
Send a message via ICQ to 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 !!!!!!!!
napolean is offline   Reply With Quote
Old 13th August 2001, 22:13   #2
ParaNoya
Junior Member
 
Join Date: Jun 2000
Location: HOEVUH!!!! (The Netherlands)
Posts: 26
Send a message via ICQ to ParaNoya
Free ParaNoya Advice

diagonal that's easy. just type x=i;y=i in the point section et voila a diagonal line.
ParaNoya is offline   Reply With Quote
Old 13th August 2001, 23:08   #3
napolean
Junior Member
 
napolean's Avatar
 
Join Date: Jul 2001
Location: Portugal
Posts: 48
Send a message via ICQ to 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
napolean is offline   Reply With Quote
Old 14th August 2001, 10:08   #4
Kobold
Junior Member
 
Join Date: Aug 2001
Posts: 11
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
Kobold is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Visualizations > AVS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump