|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Cercle, seg_032572
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Easy_X;
with Elementary_Functions;
with Graphiques;
with Text_Io;
procedure Cercle is
Display : String (1 .. 6) := "arnica";
Angle : Integer;
I : Integer;
Pi : Float := 3.141592654;
X, Y : Float;
Rayon_X : Float := 200.0;
Rayon_Y : Float := 100.0;
begin
Text_Io.Put ("Wait ...");
Text_Io.New_Line;
Easy_X.Open (Display, "Fenetre", 0, 0, 1000, 1000);
for I in 0 .. 15 loop
Graphiques.Carre (X => 100 + I * 5,
Y => 100 + I * 5,
Cote => 300 - I * 10);
end loop;
loop
for Angle in 1 .. 3600 loop
X := 400.0 + Rayon_X * Elementary_Functions.Cos
(Float (Angle) / 180.0 * Pi);
Y := 400.0 + Rayon_Y * Elementary_Functions.Sin
(Float (Angle) / 180.0 * Pi);
Graphiques.Plot (Integer (X), Integer (Y));
Rayon_X := Rayon_X * 0.999;
Rayon_Y := Rayon_Y * 0.999;
end loop;
end loop;
Easy_X.Close;
end Cercle;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=22 rec1=00 rec2=01 rec3=022
[0x01] rec0=07 rec1=00 rec2=02 rec3=001
tail 0x2172d64ee84c57bdf0ee7 0x42a00088462060003