background preloader

Extended Language (API)

Extended Language (API)

Books Processing: A Programming Handbook for Visual Designers and Artists Casey Reas and Ben Fry (Foreword by John Maeda). Published August 2007, MIT Press. 736 pages. Hardcover. » Order from Amazon.com Downloads: Table of Contents and Index (PDF, 500 KB) Sample Chapters with Contents and Index (PDF, 7.6 MB) All code examples in the book (ZIP, 24 MB) Errata (Updated 8 January 2014) This book is an introduction to the ideas of computer programming within the context of the visual arts. The majority of the book is divided into tutorial units discussing specific elements of software and how they relate to the arts. Essays by Alexander R. Interviews with Jared Tarbell, Martin Wattenberg, James Paterson, Erik van Blockland, Ed Burton, Josh On, Jeurg Lehni, Auriea Harvey and Michael Samyn, Mathew Cullen and Grady Hall, Bob Sabiston, Jennifer Steinkamp, Ruth Jarman and Joseph Gerhardt, Sue Costabile, Chris Csikszentmihalyi, Golan Levin and Zachary Lieberman, and Mark Hansen.

Extended Framework (API) Cover \ Exhibition \ Reference \ Learning \ Hardware \ Download \ About »Feed »Forum »Wiki »Code Framework (A-Z) \ Libraries \ Environment \ Language: Structure [] (array access) = (assign) , (comma) // (comment) {} (curly braces) #define delete . Data Primitive boolean byte char double float int long unsigned char unsigned int unsigned long word Composite String Vector array Constant Types ByteTable CharTable Constant ConstantString DoubleTable FloatTable IntTable LongTable UCharTable UIntTable ULongTable Conversion byte() char() float() int() long() splitString() toAscii() toLowerCase() toUpperCase() Bit, byte and word handling bit() bitRead() bitWrite() highByte() lowByte() makeWord() Character classification isAlpha() isAlphaNumeric() isAscii() isControl() isDigit() isGraph() isHexadecimalDigit() isLowerCase() isPrintable() isPunct() isSpace() isUpperCase() isWhitespace() Qualifiers const static volatile Pointer Operators * (dereference operator) & (reference operator) Utilities sizeof() Control Time

La programmation haute performance n’est-elle réservée qu’à une élite de développeurs C++ ? Récemment un papier d’étude de Google UK a été publié sur la performance des langages de programmation JAVA, Scala, C++ et Go (Loop Recognition in C++/Java/Go/Scala). Dans ce papier, les performances des langages sont comparées sur la base d’un algorithme de recherche de boucles dans un graphe (Algorithme de Tarjan). Principalement basé sur la performance d’exécution d’instructions séquentielles (boucles), la gestion de la mémoire, le temps de compilation et le nombre de lignes de code écrites cette étude montre que pour arriver à des hautes performances en C++ les optimisations techniques (au niveau du langage) deviennent trop compliquées pour le résultat produit. Comme le dit Robert Hundt : We find that in regards to performance, C++ wins out by a large margin. However, it also required the most extensive tuning efforts, many of which were done at a level of sophistication that would not be available to the average programmer. De quelle performance parle-t-on ? Essoufler son CPU

Learnable Programming Here's a trick question: How do we get people to understand programming? Khan Academy recently launched an online environment for learning to program. It offers a set of tutorials based on the JavaScript and Processing languages, and features a "live coding" environment, where the program's output updates as the programmer types. Because my work was cited as an inspiration for the Khan system, I felt I should respond with two thoughts about learning: Programming is a way of thinking, not a rote skill. Thus, the goals of a programming system should be: to support and encourage powerful ways of thinkingto enable programmers to see and understand the execution of their programs A live-coding Processing environment addresses neither of these goals. Alan Perlis wrote, "To understand a program, you must become both the machine and the program." How do we get people to understand programming? We change programming. Contents A programming system has two parts. The language should provide: Wait.

Just Landed: Processing, Twitter, MetaCarta & Hidden Data I have a friend who has a Ph.D in bioinformatics. Over a beer last week, we ended up discussing the H1N1 flu virus, epidemic modeling, and countless other fascinating and somewhat scary things. She told me that epidemiologists have been experimenting with alternate methods of creating transmission models – specifically, she talked about a group that was using data from the Where’s George? This got me thinking about the data that is hidden in various social network information streams – Facebook & Twitter updates in particular. The idea is simple: Find tweets that contain this phrase, parse out the location they’d just landed in, along with the home location they list on their Twitter profile, and use this to map out travel in the Twittersphere (yes, I just used the phrase ‘Twittersphere’). It turned out to be a lot easier than I thought. This seemed perfect, so I signed up for an API key and set to work hooking the APIs up to Processing. Just Landed – 36 Hours from blprnt on Vimeo.

BoardSerialSingleSided3 If you don't have an easy way to order an Arduino board or kit, you can etch this PCB design by hand and solder it together. It is pin-compatible with the Arduino Diecimila, and should work with any Arduino shield. This is the third revision of the board: the Arduino Single-Sided Serial version 3, or s3v3, or Arduino Severino. It was designed by Adilson Akashi, based on the previous version. A4 Image for Toner Transfer (.png) Schematic (.png) EAGLE files (.zip) Manual (.pdf) Mounting diagram (.png) These files are licensed under the Creative Commons Attribution Share-Alike 2.5 license.

eric.lemerdy HTML 5 Forms Les WebForms 2.0 ou HTML 5 Forms, fournissent des fonctionnalités de formulaire natifs. En guise d'illustration, Peter nous montre le volume de code non négligeable nécessaire à la validation d'une simple adresse e-mail. C'est en cela qu'HTML5 est un contrepied au XHTML qui prône lui une conformité rigoureuse à la syntaxe XML. Des tas d'API HTML 5 innove en apportant des standards d'API tels que : Canvas, SVG, Audio & Video, Web Socket, Web Workers, Geolocation, Web Storage, etc. Canvas & SVG Ce sont des API de dessin pour le navigateur. Canvas Lorsqu'une zone canvas est dessinée, elle l'est à une certaine résolution, elle serait pixelisée si on zoomait dessus. En SVG, tout ce qui est dessiné peut passer à une échelle différente, ce n'est pas dépendant de la résolution. Audio and video Il y a pour ça deux nouveaux éléments audio et video. Je continuerai dans la dernière partie du compte rendu sur Web Sockets, Web Workers, Geolocation et Web Storage.

Danc's Miraculously Flexible Game Prototyping Tiles RPGs love PlanetCute So do platformers... One of the commenters on the SpaceCute posts wondered what would happen if you visited one of those delightful spa-like planetoids that decorate our little galaxy of cuteness. Well, now you know. Here is a new set of graphics I'm dubbing "PlanetCute" These are Lowest Common Denominator graphics. Some of the fault lies with the existing graphics, be they free sets scrounged from the internet or leftovers from a previous project. 3D graphics are notoriously difficult to convert between formats, are optimized for use on a specific platform and often present a confusing technological challenges to student developers. Even 2D graphics are tricky. The PlanetCute set attempts to wiggle past many of those problems. Building blocks, not tilesets: Instead of having complex tilesets, each block stacks nicely with pretty much any other block. This set is also quite amendable to original games. Why does the world need nice graphics for prototyping?

In the Air Wiring

Related: