background preloader
Related:  Processing

LSystems Application Please try out this LSystems program written in Java. You must be using a Java compatible web browser to access it. The source code for this applet can be downloaded here. Paula CooperDepartment of Computer Science, University of Introduction Lindenmayer systems (L-systems) provide an easy way for creating very complicated images such as fractals and trees through the specification of a few production rules. This demo is based on the program and sample L-systems presented in Przemyslaw Prusinkiewicz and Jim Hanan, Lindenmeyer Systems, Fractals, and Plants, Lecture Notes in Biomathematics 79, Springer-Verlag, Berlin 1989,1992 How to Use This L-systems Application In order to run an L-systems derivation the user must first specify the attributes of the derivation to be run. All of these entries are specified by entering the values in the provided text entry boxes, except for the production rules.

Ressources Processing et tutoriels en ligne Pixastic: JavaScript Image Processing Tile Generator by Robert Currie Tile Generator Instructions The screen is divided into two areas, the drawing area and the control area. Drawing Area Dragging or clicking the mouse within the drawing area will place dots onto the page which will then be immediately duplicated across the entire drawing area according to the rules specified by the chosen net type. Control Area The control area consists of several gadgets that allow you to change drawing properties. Tile Generator Background The problem that this assignment addresses is the proper generation of overlapping tiles. The types of transformations that are used in the generation of Frieze tiles include translations, glides, reflections, and rotations. Rectangular nodes require only that the two tranlations produce vectors that are perpedicular to one another. Once a net type has been chosen, then one or more affine transformations are chosen to couple with the net node to produce a unique pattern. Examples

Processing.js Travel Time Tube Map (Built with Processing) Click on a station to see the London Underground map reorganise around the times of travel from that station. Shortest paths are used to place the other stations - radius is proportional to time to travel, and angle should be correct for as-the-crow-flies direction on a map. The concentric circles are at 10 minute intervals. Press 'g' to get back to the geographical tube map. NB:- times may not be accurate! Inspired by Oskar Karlin's reworking of the tube map around the time to travel from Elephant and Castle, and Rod McLaren's subsequent sketch 10 Minutes tube travel from Oxford Circus. Lots of things that need improving... Would be nice: a key for the different lines search for stations (type into the applet) list out the shortest path between two stations (not including time to change) sort out the 'white dot' connecting stations to match the proper tube map proper DLR times to travel (just used 2 mins for everything - tube ones are better) display travel card zones etc. Wishlist:

Architecture Is there a way to set a processing.js fullscreen in the browser? Hi everybody, i want to use the following sketch as a background of a webpage, so i have exported it with processing 2.0 to run in .js and it works fine, except that i want it to be fullscreen and i don't know how to achieve that. i already tried by putting '100%' in width and height in the style but it doesn't work and i don't know how to program javascript, any suggestions? Copy code processing – tutorial Using a Processing Sketch as a Java Component – Sebastian Oliva I really like Processing. Processing is a Visual Programming language, and it is based on Java. It is designed to run either as an Applet, a Standalone App, or as a Java Component; running a Processing Sketch as a Component is the one with less documentation, but probably one of the most interesting and powerful applications of it. This is a small guide on setting up a Processing Sketch as a Java component, ready to use on your Swing or AWT desktop applications. I am assuming you have a basic notion of Object Oriented Programming, and preferably a base on Java, as it is obvious, you will need basic Processing skills. After your environment is all set up, you will need a to create a new Project, just follow the instructions for your IDE. The second step is to add to your project the library core.jar, which contains the basic Processing functionality. Once you’ve added the library to your project, it’s real easy to start using it. Let’s begin with a simple example Simple Processing