background preloader

Tutorials

Tutorials

25 life-saving tips for Processing « Amnon P5 – Experiments with Processing by Amnon Owed 25 life-saving tips for Processing Posted by Amnon on January 28, 2012 · 37 Comments Well, perhaps they won’t literally save your life. But they surely will help you write your sketches easier, faster and more efficiently! 1. frameCount, millis(), modulo % and noise Let me start with a few functions that in themselves and in combination are extremely useful. 2. math, logical and relational operator shortcuts Any program will use operators. 3. math with ints A very common mistake is doing math operations on integers and expecting a floating number outcome. 4. frameRate Processing’s frameRate is by default capped at 60 fps. 5. loading specific files from an external input directory Many applications use file input, for example an image or a data file. 6. timestamp When saving output to a file you often need a way to distinguish between different sessions. 7. fast image sequence saving If you want to save your visual output to a file you can use the save() or saveFrame() funtions.

Stagecast Creator Stagecast Creator gives you the power to create interactive simulations, stories, games, and more! Stagecast Creator is an easy-to-learn, easy-to-use software tool for making your own games and simulations. Starting with a blank stage, simply add a cast of characters using the included picture painter or imported graphics, then move the characters around to generate rules of behavior completely visually. "A versatile open-ended program, Stagecast Creator can be used in any classroom where students are working to develop their visual problem-solving skills See more highlights of awards, reviews, and testimonials for the software. Using Stagecast Creator, you can create projects on your own or with others. Stagecast Creator is easy to use, but powerful enough to create cool 2D games. Features: Learn Stagecast Creator by exploring the self-paced interactive tutorial. Ages 8 and up. Try it out for yourself! Click on these links to learn more about: Ready to buy?

Mobile Processing Processing on the web - a tutorial If you run into the problem that your processing.js sketch doesn't work, and you checked Firebug (for Firefox), Dragonfly (for Opera) or webkit developer tools (for Safari and Chrome) while running your sketch, but they didn't help you figure out what's going wrong, what should you do? Following the next 11-step plan, you should be able to either fix things yourself, or if you make it to step 8, you have every right to come to our doorstep and ask us to fix whatever's wrong because there's a genuine problem with the Processing.js library! Before you start Before you start debugging, you want to make sure your code is in a state that will allow you to effectively debug it. The following three questions are intended to make sure you have done everything you need in order to use the tools required for prodding your code with the debugging stick. 0) Just to be sure, do you want your code to be correct? yes: Great! 1) Do you mix javascript and processing in your files? Debugging yes: Hurray!

logiciels: processing. Télécharger les documents utilisés au cours (janvier 2007) : PROCESSING (PROCE55ING ou P5) est un environnement de programmation et un langage simple et complet. Il s'agit d'un logiciel libre (open-source), gratuit et multi-plateformes (Windows, Mac OS X et Linux). Raccourcis vers les rubriques disponibles sur cette page : Apprendre en ligne. Installation. Aperçu des commandes. Premier "sketch". Exportation et publication en ligne. Librairies disponibles. Artistes utilisant PROCESSING. Les auteurs: PROCESSING a été conçu par Casey Reas et Benjamin Fry (ci-dessus) comme outil de création et d'apprentissage fondamental à la programmation. Ben Fry et Casey Reas sont d'ex-étudiants de John Maeda à l'Aesthetics & Computation Group du MIT. PROCESSING a reçu le prix Golden Nica à Ars Electronica 2005 (catégorie NetVision). Description: PROCESSING est sain et réduit à l'essentiel: un champ de texte pour écrire le programmeun bouton "play" pour l'exécuter et une fenêtre qui visualise le résultat. Sonia.

Fun Programming logiciels: processing. Télécharger les documents utilisés au cours (janvier 2007) : PROCESSING (PROCE55ING ou P5) est un environnement de programmation et un langage simple et complet. Il s'agit d'un logiciel libre (open-source), gratuit et multi-plateformes (Windows, Mac OS X et Linux). Raccourcis vers les rubriques disponibles sur cette page : Apprendre en ligne. Installation. Aperçu des commandes. Premier "sketch". Exportation et publication en ligne. Librairies disponibles. Artistes utilisant PROCESSING. Les auteurs: PROCESSING a été conçu par Casey Reas et Benjamin Fry (ci-dessus) comme outil de création et d'apprentissage fondamental à la programmation. Ben Fry et Casey Reas sont d'ex-étudiants de John Maeda à l'Aesthetics & Computation Group du MIT. PROCESSING a reçu le prix Golden Nica à Ars Electronica 2005 (catégorie NetVision). Description: PROCESSING est sain et réduit à l'essentiel: un champ de texte pour écrire le programmeun bouton "play" pour l'exécuter et une fenêtre qui visualise le résultat. Sonia.

Begin programming: build your first mobile game — University of Reading Learn the basics of Java programming by developing a simple mobile game that you can run on your computer, Android phone, or tablet. Programming is everywhere: in dishwashers, cars and even space shuttles. This course will help you to understand how programs work and guide you through creating your own computer program – a mobile game. Whether you’re a complete newcomer to programming, or have some basic skills, this course provides a challenging but fun way to start programming in Java. Over seven weeks we will introduce the basic constructs that are used in many programming languages and help you to put this knowledge into practice by changing the game code we have provided. The course will combine video introductions, on-screen examples, downloadable guides, articles and discussions to help you understand the principles behind computer programs and the building blocks that are used to create them. This course includes video content and other visual teaching methods.

Floss Manuals francophone - Lire Conçu par des artistes, pour des artistes, Processing est un des principaux environnements de création utilisant le code informatique pour générer des œuvres multimédias sur ordinateur. L'attrait de ce logiciel réside dans sa simplicité d'utilisation et dans la diversité de ses applications : image, son, applications sur Internet et sur téléphones mobiles, conception d'objets électroniques interactifs. Processing fédère une forte communauté d'utilisateurs professionnels et amateurs : artistes, graphistes, vidéastes, typographes, architectes, web designers et designers en général. Il est également utilisé par des enseignants en arts qui souhaitent familiariser leurs étudiants avec les potentialités artistiques de la programmation, les concepteurs du logiciel l'ayant pensé dès l'origine comme un outil d'apprentissage. Dessiner et créer avec du code informatique Processing permet également de programmer des circuits électroniques qui interagissent avec le milieu qui les entoure.

OpenProcessing - Share your sketches! Introduction to Processing Here's a discussion of structured programming and, more specifically, the structure of a processing program. Warning: There's a wee bit of misinformation in the video at about 13:55 about why the sketch is blank. I correct myself later. Watch for yourself: Structured Programming, Simple Animation from Albert Schueller on Vimeo. We discuss the notion of structured programming and the setup()/draw() structure of a basic processing sketch. Processing & Open Data à Rennes | v3ga Ce tutoriel fait suite à l’atelier Processing qui s’est déroulé à Rennes le 4 et 5 Novembre 2011. Introduction Il a pour but de montrer comment interroger la base de données Open Data de la ville de Rennes depuis Processing et interpréter les données qui sont renvoyées.Nous allons nous intéresser plus particulièrement aux données relatives au Vélo Star, et visualiser les informations sur une carte de la ville. Inscription sur le site data.keolis-rennes.com Pour pouvoir interroger la base de données, la première étape consiste à s’inscrire sur le site. Accès à la base de données Une fois notre clé récupérée, nous allons écrire un programme de quelques lignes avec Processing qui va se connecter au service pour l’interroger.Cette connexion s’effectue par le biais d’une simple adresse internet (ou URL) formatée de telle sorte à contenir non seulement notre clé mais aussi la commande de la requête. La requête s’effectue en une seule instruction avec Processing : loadStrings. Temps réel Notes

Advanced OpenGL From Processing Using the OpenGL Renderer is for advanced users only! Generally, this should be only considered a last-ditch way to get at a particular GL-specific feature. It can make your code incompatible with everything else (such as future versions of Processing or other 3D renderers) and will confuse the hell outta people when you post your code to the web. Source Code Processing 1.x To get access to the GL object, use the following: GL gl = ((PGraphicsOpenGL)g).gl; This will give you JOGL's GL object that talks directly to OpenGL and will let you make OpenGL calls directly. Again, this is not supported, in the sense that if you get weird problems with a GL-based sketch that uses this method, you're on your own. Because most of the work in drawing is handled by Processing, most OpenGL calls will not work, because most things won't be set up properly. Another option for talking directly to OpenGL in release 0116 and later is to use the beginGL() and endGL() methods. Processing 2.x See also

Processing Tutorials – Plethora Project Plethora-Project.com is an initiative to accelerate computational literacy in the frame of architecture and design. It aligns with the "show me your screens" motto of the TopLap live-coding group attempting to get rid of Obscurantism in digital design. Directed by Jose Sanchez Contact me at : jomasan@gmail.com Bio: Jose Sanchez is an Architect / Programmer / Game Designer based in Los Angeles, California. He is partner at Bloom Games, start-up built upon the BLOOM project, winner of the WONDER SERIES hosted by the City of London for the London 2012 Olympics.

Related: