background preloader

Language Reference (API) \ Processing 2+

Language Reference (API) \ Processing 2+
Cover Download Exhibition Reference Libraries Tools Environment Tutorials Examples Books Overview People Foundation Shop »Forum »GitHub »Issues »Wiki »FAQ »Twitter »Facebook Reference. The Processing Language was designed to facilitate the creation of sophisticated visual structures. Structure () (parentheses) , (comma) . (dot) /* */ (multiline comment) /** */ (doc comment) // (comment) ; (semicolon) = (assign) [] (array access) {} (curly braces) catch class draw() exit() extends false final implements import loop() new noLoop() null popStyle() private public pushStyle() redraw() return setup() static super this true try void Environment cursor() displayHeight displayWidth focused frameCount frameRate() frameRate height noCursor() size() width Data Primitive boolean byte char color double float int long Composite Array ArrayList FloatDict FloatList HashMap IntDict IntList JSONArray JSONObject Object String StringDict StringList Table TableRow XML Conversion String Functions Array Functions ! ? !

http://processing.org/reference/

Related:  Computer Programming PrinciplesCREATIVE DESIGN | PROGRAMACIONcode

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. The Little Lisper - Daniel P. Friedman, Linda Weiser Friedman, Matthias Felleisen The Little lisper - The MIT PressThere are surprises in store for the diligent reader of this masterful introduction to recursion as a fundamental tool for expressing and solving problemsmitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=4879 The little lisper (2nd ed.)The little lisper (2nd ed.) Purchase this Book. Source.

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 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.

Processing.js BouncyBubbles Based on code from Keith Peters (www.bit-101.com). Multiple-object collision. Original Processing.org Example: BouncyBubbles Turing tarpit A Turing tarpit is a language that aims for Turing-completeness in an arbitrarily small number of linguistic elements - ideally, as few as possible. History[edit] The 1950's and 1960's were something of a heyday for Turing tarpits. Academic interest in them was keen, and they enjoyed considerable popularity in computability research circles. 3D Matrix Math Demystified Note for math weenies: This is not meant to be a full tutorial on matrices, and is also not intended to cover the math behind them in the usual manner. It is my personal way of thinking about rotation matrices in 3D graphics, and it will hopefully provide at least some people with a new (and possibly more intuitive) way of visualizing matrices that they may not have considered before. For serious 3D graphics, you will need to use matrix math.

MIT Media Lab Identity A truly bespoke visual identity created for the Media Lab at the Massachusetts Institute of Technology (MIT). Three colored shapes representing the qualities of the Media Lab community – creativity, diversity and mutual inspiration. Recognizably based on a clear pattern, each student, teacher or member of staff is invited to generate their own, unique algorithmically created rendition of the Lab’s logo. They are then free to use on their lab website, business card and in any other media, together forming an dynamic identity that becomes synonymous with the Media Lab’s approach to the ever-changing nature of technology. Eine hyperindividuelle visuelle Identität gestaltet für das Media Lab am Massachusetts Institute of Technology (MIT).

Maillardet's Automaton at The Franklin Institute In November of 1928, a truck pulled up to The Franklin Institute science museum in Philadelphia and unloaded the pieces of an interesting, complex, but totally ruined brass machine. Donated by the estate of John Penn Brock, a wealthy Philadelphian, the machine was studied and the museum began to realize the treasure it had been given. This Automaton, known as the "Draughtsman-Writer" was built by Henri Maillardet, a Swiss mechanician of the 18th century who worked in London producing clocks and other mechanisms. It is believed that Maillardet built this extraordinary Automaton around 1800 and it has the largest "memory" of any such machine ever constructed—four drawings and three poems (two in French and one in English). Automata, such as Maillardet's Automaton, demonstrated mankind's efforts to imitate life by mechanical means—and are fascinating examples of the intersection of art and science.

Websites - Sviluppatori di Facebook As mentioned, the code above uses the common defaults for the options available when initializing the SDK. You can customize some of these options, if useful. Changing SDK Language

Related:  Frameworks