aldweb

Fermer I. aldweb

Fermer II. Gratuitiels PC

Fermer III. Gratuitiels Palm

Fermer IV. Partagiciels Palm

Fermer V. iziBasic Palm

Fermer VI. Connaissance Palm

Fermer VII. Ordinateur Poche

Fermer VIII. miniPortail

Spécial !



Version mobile
de l'aldweb Site

m.aldweb.com


Ni Français, ni Anglais ?

Essayez donc l'un de ces drapeaux :
[de] [es] [it] [pt]
Recherche




Météo / Spam / www

Météo Lyon


aldweb contre le SPAM


Newsletter
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
298 Abonnés
Sites web de la famille

Webmaster - Infos
News Amis
Visites

   visiteurs

   visiteurs en ligne

Sondage
Comment trouve-tu le nouvel habillage de l'aldweb Site ?
 
Superbe !
Joli
Moyen
Moche...
Résultats
forum.gifForum - iziBasic - Sujet n°1666

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

actif  Sujet n° 1666  Radar screen simulation

le 24/03/2010 @ 06:34
par digitaljellyfish

Anonyme

visiteur

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?

  Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1
--------
le 27/03/2010 @ 17:30
par aldweb

Anonyme

visiteur

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

Ecrire à aldweb   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2
--------
le 03/04/2010 @ 22:51
par digitaljellyfish

Anonyme

visiteur

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?

 

 

Ecrire à digitaljellyfish   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3
--------
le 14/04/2010 @ 19:47
par aldweb

Anonyme

visiteur
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
Ecrire à aldweb   Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 



 
^ Haut ^