|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: F T
Length: 2553 (0x9f9)
Types: TextFile
Names: »FLOCONS«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
stylo MoyenneTaille.
stylo tonX:80 tonY:200.
stylo ecris:"Demo realisee par :".
stylo tonX:100 tonY:250.
stylo ecris:"Philippe Bouteleux".
stylo tonX:100 tonY:300.
stylo ecris:"et Bruno Launay".
stylo tonX:50 tonY:400.
stylo ecris:"Application du TP No 2".
3 attend.
fenetre cacheToi.
pour fenetre1 prendre fenetre dupliqueToi.
fenetre1 tonX:0 tonY:0 taLargeur:1280 taHauteur:1024
tonNom:"Mon Dieu, c'est plein d'etoiles... Arthur C.Clark".
fenetre1 afficheToi.
tortue TaFenetre:fenetre1 TonAngle:0.
stylo TaFenetre:fenetre1.
tortue baisseTaPlume.
tortue TonX:640 TonY:512 tonEpaisseur:1.
pour appel prendre {
avec arete:longueur angle:theta iteration:i.
(i = 4) siVrai: {
appel arete:longueur angle:60 iteration:3.
tortue aDroite:theta.
appel arete:longueur angle:60 iteration:3.
tortue aGauche:theta aGauche:theta.
appel arete:longueur angle:60 iteration:3.
tortue aDroite:theta.
appel arete:longueur angle:60 iteration:3.
}.
(i = 3) siVrai: {
appel arete:longueur angle:60 iteration:2.
tortue aDroite:theta.
appel arete:longueur angle:60 iteration:2.
tortue aGauche:theta aGauche:theta.
appel arete:longueur angle:60 iteration:2.
tortue aDroite:theta.
appel arete:longueur angle:60 iteration:2.
}.
(i = 2) siVrai: {
appel arete:longueur angle:60 iteration:1.
tortue aDroite:theta.
appel arete:longueur angle:60 iteration:1.
tortue aGauche:theta aGauche:theta.
appel arete:longueur angle:60 iteration:1.
tortue aDroite:theta.
appel arete:longueur angle:60 iteration:1.
}.
(i = 1) siVrai: {
appel arete:longueur angle:60 iteration:0.
tortue aDroite:theta.
appel arete:longueur angle:60 iteration:0.
tortue aGauche:theta aGauche:theta.
appel arete:longueur angle:60 iteration:0.
tortue aDroite:theta.
appel arete:longueur angle:60 iteration:0.
}.
(i = 0) siVrai: {
tortue avance:longueur.
}.
}.
pour flocon prendre {
avec iteration:it.
pour pas prendre 2.
appel arete:pas angle:60 iteration:it.
tortue aGauche:60 aGauche:60.
appel arete:pas angle:60 iteration:it.
tortue aGauche:60 aGauche:60.
appel arete:pas angle:60 iteration:it.
}.
1 a: 50 repeter: {
avec i.
tortue tonAngle:90 auhasard.
tortue TonX:1280 auHasard TonY:1024 auhasard tonEpaisseur:1.
flocon iteration:4 auHasard.
}.
5 attend.