DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦5fea17e9b⟧ TextFile

    Length: 1075 (0x433)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

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;