Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Geolocation
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
293 Subscribers
Family's web sites

Webmaster - Infos
Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
Visits

   visitors

   visitors online

Friends News
Pagerank

Google Ads
forum.gifForum - iziBasic - Topic #1666

Forum - Forum
iziBasic - iziBasic


active  Topic # 1666  Radar screen simulation

24/03/2010 @ 06:34
by digitaljellyfish

Anonymous

visitor

I have been trying to figure out how to make a realistic looking radar screen.

Its easy to make a line rotate in a circle, like an analog watch.  What I would like it to do is to leave a trail behind it, that fades out just like a radar screen:

The leading edge is bright green, then the trail fades into the black background.

Can anyone show me how to do this?

  Post an answer  Top
Answer n° 1
--------
27/03/2010 @ 17:30
by aldweb

Anonymous

visitor

Hello,

 

Maybe draw ahead of your radar line some other lines with progressive darker green colors that slightly fade to the black backcolor?

 

Cheers,

aldweb

Write to aldweb   Post an answer  Top
Answer n° 2
--------
03/04/2010 @ 22:51
by digitaljellyfish

Anonymous

visitor

This is how I have the line rotating.

FOR w=1 to 20 step 0.003

x=COS(w)*70+80

y=SIN(w)*70+80

LINE 80,80 TO x,y

CLS

NEXT

Now, just as suggested above, I would like to draw about 20 more lines, following this one, each a shade darker than the previous.

I think this could be done using Arrays. However I don't know how the code would be written for that.

Can anyone help?

Is there perhaps a tutorial on Arrays, that shows how to do this?

 

 

Write to digitaljellyfish   Post an answer  Top
Answer n° 3
--------
14/04/2010 @ 19:47
by aldweb

Anonymous

visitor
No array needed, maybe just something like:

FOR w=1 to 20 step 0.003
t=w-20*0.003
FOR z=t to w step 0.003
x=COS(z)*70+80
y=SIN(z)*70+80
LINE 80,80 TO x,y
CLS
NEXT
NEXT
Write to aldweb   Post an answer  Top
active topic active   closed topic closed   Important! Important!   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^