![]() 7 secondes |
![]() 7 minutes |
![]() 7 heures |
Ce
patch est constitué de modules ARGOPd
et d'objets
Pure Data reliés. Comment ça marche: - Le dessin dans la fenêtre GEM est fait en mode "single buffer": le buffer n'est pas effacé à chaque frame. SingleBuffer est coché dans le module "GEM". Chaque dessin persiste dans la fenêtre GEM. - Le fond de la fenêtre GEM est blanc (BackGround = 100 dans le module "GEM") - Un cercle est tracé à chaque période du module "Oscill" (20 ms), donc 50 fois par seconde. - Le cercle est noir (Rouge = 0, Vert = 0, Bleu = 0 dans "GEM-ColorAlpha"). - Le cercle a une transparence de 10 (dans "GEM-ColorAlpha") sur une échelle de 0 = transparent à 100 = opaque. Cela donne des niveaux de gris par superposition des cercles. - Le cercle a une épaisseur de 1 pixel et un diamètre de 4. - Le module "Nbr" génère des nombres entiers aléatoires entre -100 et +100. - Le module "Spray6" répartit ces nombres (divisés par 50) vers ses 6 sorties. - Le cercle est translaté en X, Y, Z aléatoirement dans une échelle -100/50 ... +100/50 = -2 ... +2 X = horizontal Y = vertical Z = Profondeur - En 7 secondes 7 x 50 = 350 cercles sont tracés - En 7 minutes 7 x 50 x 60 = 21000 cercles sont tracés - En 7 heures 7 x 50 x 60 x 60 = 1260000 cercles sont tracés |
This
patch is made of ARGOPd
modules and Pure Data objects interconnected. How it works: - Drawing in the GEM window is made in "single buffer" mode: the buffer is not cleared each frame. SingleBuffer is checked in the "GEM" module. Each drawing persists in the GEM window. - The background of the GEM window is white (BackGround = 100 in the "GEM" module) - A circle is drawn at each period of "Oscill" module (20 ms), thus 50 times per second. - The circle is black: Red = 0, Green = 0, Blue = 0 in "GEM-ColorAlpha" module. - The circle has a transparency of 10 (in "GEM-ColorAlpha" module) on a scale of 0 = transparent to 100 = opaque. This produces grayscale by superposition of circles. - The circle has a thickness of one pixel and a diameter of 4. - The "Nbr" module generates random integer numbers between -100 and +100. - The "Spray6" module allocated these numbers (divided by 50) to its 6 outputs. - The circle is randomly translated in X, Y, Z in a scale -100/50 ... +100/50 = -2 ... +2 X = horizontal Y = vertical Z = Depth - During 7 seconds 7 x 50 = 350 circles are drawn - During 7 minutes 7 x 50 x 60 = 21000 circles are drawn - During 7 hours 7 x 50 x 60 x 60 = 1260000 circles are drawn |
Qualité du rendu: - Le message "FSAA 4" est envoyé à l'objet gemwin à l'intérieur du module GEM. Cela lisse le bord des dessins (anti-aliasing) - FSAA ne fonctionne pas avec toutes les cartes graphiques. Sur MacBook Pro avec carte ATI Radeon: FSAA fonctionne sous MacOS FSAA ne fonctionne pas sous Ubuntu 11.10 + Pd-0.43.1-extended - FSAA s'exécute dans la carte graphique et ne charge pas la CPU de l'ordinateur. |
![]() FSAA 0 (Zoom x 4) ![]() FSAA 4 (Zoom x 4) |
Render quality: - "FSAA 4" message is sent to the gemwin object within GEM module. This smooth the edge of drawings (anti-aliasing) - FSAA does not work with all graphics cards. On a MacBook Pro with ATI Radeon: FSAA runs on MacOS. FSAA does not work on Ubuntu 11.10 + Pd-0.43.1-extended - FSAA runs in the graphics card and does not load the CPU of the computer. |
Enregistrer les images: - Les images de cette page sont faites en cliquant Save dans le module GEM, ce qui crée un fichier "GEMWindowxxxxx.jpg" au format jpeg de qualité 80/100. (images faites sous MacOSX) - Le fichier est sauvé dans le dossier du patch. - ATTENTION: Aucune alerte en cas de remplacement du fichier. - ATTENTION: Bug avec Pd-0.42.5-extended sous MacOS: le fichiers créé "GEMWindowxxxxx.jpg" est en réalité, malgré son nom, au format tiff. Ce fichier s'ouvre bien avec le logiciel ImageJ. Pas de problème sous Pd-0.43.1-extended. |
Save images: - The images on this page are made by clicking Save in the GEM module which creates a "GEMWindowxxxxx.jpg" file in jpeg format with 80/100 quality. (images made under MacOSX) - The file is saved in the folder of the patch. - WARNING: No warning in case of replacement of the file. - WARNING: Bug with Pd-0.42.5-extended under MacOS: the files created "GEMWindowxxxxx.jpg" is, despite its name, in tiff format. This file is opened successfully with the ImageJ software. No problem under Pd-0.43.1-extended. |
Sketch Processing (à peu près équivalent) |
![]() Random3Circlev2.zip Compatible Processing 1.5 Compatible Processing 2 Compatible Processing 3 |
Processing sketch (roughly equivalent) |
Autres Patches: |
Other
Patches: |
![]() ExMM163b-GEM-SingleBuffer-Circle |
![]() ExMM163c-GEM-SingleBuffer-Circle |
![]() ExMM163d-GEM-SingleBuffer-Circle |
![]() ExMM163e-GEM-SingleBuffer-Circle |
Liens: | Links: |
Paresys Accueil |
12 2 2023![]() |
Paresys Home |