Projet de XML - Les L-Systèmes
This repository has been archived on 2024-05-19. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2024-05-19 01:24:47 +02:00
report float metadata 2024-05-19 01:24:47 +02:00
.gitignore step 1 and 2 2024-04-26 22:19:39 +02:00
converter.py translate STORE/RESTORE in XML instead of Python 2024-05-07 12:24:09 +02:00
l-systems.csv add pentl 2024-05-06 17:37:27 +02:00
l-systems.xsd translate STORE/RESTORE in XML instead of Python 2024-05-07 12:24:09 +02:00
Makefile report: generate many images 2024-05-12 16:50:00 +02:00
README.md examples with ok times in report makefile 2024-05-18 22:57:05 +02:00
svg.xsl fmt 2024-05-18 23:02:56 +02:00
tortue.xsd format 2024-05-06 14:46:31 +02:00
tortue.xsl translate STORE/RESTORE in XML instead of Python 2024-05-07 12:24:09 +02:00
traceur.xsd use 3 space indentation instead of 2 2024-05-03 01:59:58 +02:00
traceur.xsl cleanup 2024-05-06 19:06:35 +02:00

L-Systèmes

Pré-requis : Python 3 et Saxon

Usage

Le convertisseur est converter.py.

$ python converter.py l-systems.csv

Autrement, pour aider à l'utilisation, il est possible d'utiliser le Makefile.

$ make nom=snow n=3 # génère une image.svg de "snow" avec 3 itérations

Il est également possible de le faire étape par étape

$ make generation          # génère le fichier XML des L-systèmes
$ make tortue nom=snow n=3 # génère tortue.xml de "snow" avec 3 itérations
$ make traceur             # génère traceur.xml
$ make svg                 # génère image.svg

Les fichiers XML des L-systèmes, de la tortue et du traceur sont vérifié avec le fichier XSD lors de la génération.

Rapport

Le rapport se trouve dans le dossier report.