background preloader

Art From Code

Art From Code

Coded Beauty Generative Design Variations Generative Design Variations 6, Waves The sixth chapter (of ten) that Jeanne de Bont and I have written and designed is about graphics generated by waves. There are two types of waves. Mechanical and electromagnetic waves. Mechanical waves we can see at the ocean’s shore or as ripples in a fountain. We can also hear them as sound. (Source: issuu.com) alex dragulescu :: dynamic for the people Freezing Time: Sculptures From Animations Andrew GlassnerThe Imaginary Institute andrew@imaginary-institute.com Eric HainesAutodesk.com erich@acm.org Version 1.1: 14 August 2015 Freezing Time is a project to help you create cool animation loops, and then turn them into cool 3D objects that you can print and hold in your hand. We create the 3D sculptures by imagining the frames of your animation in one big stack. We carve away all the pixels that have the color of the background, and what's left becomes your model. When you're ready, you can open up the code and write your own animations. We call our process Freezing Time. What's This Doc? A bare-bones, get-started-quick overview. When you're ready to write your own animations, the comments in the code will be your guides. To get started, download and install these two free, open-source programs. Processing version 2.2.1: This is a graphics programming language based on Java. Running both Processing 2 and Processing 3 Download and install Processing 2.2.1. That's it. Installing T2Z

Moving, Work — Guy Moorhouse Moving is an art project featuring geometric animations I make. The animations are mainly hosted on a dedicated site on Tumblr, but I also share on other networks including Instagram, Twitter and Ello (yep, that's still going strong). Not that you really need to have a reason to make things like this, but I started out making these one-off animations to hone my sense of motion and timing. I then found it developed into something in it's own right, so just ran with it. From an art direction point of view, my one rule is that the animations must start and end on a blank white frame. I kind of like the idea that they come out of nothing and return to nothing. Process A lot of people have asked me how I go about making these animations, so I thought I'd go into the process a bit and describe the project in more detail, like I did with the Malika Favre site. Ideas There's no fixed process in terms of how I come up with the ideas for the final animations themselves. Creating an image sequence

Spiromaniac ArrayList @ Processing @ t-o-f Un ArrayList est une classe qui se comporte comme un tableau. Contrairement à un tableau, un ArrayList peut changer de taille dynamiquement et peut contenir des types de données différentes. La documentation Processing se trouve ici , mais elle est assez brève. La documentation complète se trouve sur le site de Sun ici ArrayList <type> maListe = new ArrayList(); maListe.add(donnée); int taille = maListe.size(); maClasse monObjet = maListe.get(index); maClasse monObjet; for (int i=0; i < maListe.size() ; i=i+1 ) { monObjet = maListe.get(i); // Faire qqch avec monObjet } maListe.remove(index); Si des éléments sont retirés d'un ArrayList traversé par une boucle, cette boucle doit être parcourue à partir du dernier élément jusqu'au premier (c'est à dire à l'envers). L'exemple suivant retire aléatoirement des éléments d'un ArrayList. for ( int i = maListe.size()-1 ; i>=0 ; i=i-1 ) { if ( random(1) > 0.5 ) { maListe.remove(index); } } La déclaration et l'assignation de la liste et des éléments:

[JavaScript] images Not a member of Pastebin yet?Sign Up, it unlocks many cool features! Fastness - Art, Programming, Projects Programming: Printing Photos in 3D13th March 2011 One of the 3D printing projects that I've had the most satisfaction from is a Processing sketch to convert 2D photos into a model that can be 3D printed. This isn't a 3D model of what's in the photo, rather it's a way of representing the photo itself with a 3D printed model, I quite liked the idea of a 3D way to print a 2D photo... I describe 2 different techniques in this post and you'll find the source code for the sketches at the end. Halftone The first technique borrows from a standard printing technique - halftone printing. (if you can't see the images, try moving back from your monitor) The first step was to see how I might be able to get information from a photo. Once I have the brightness of the pixel I can use it to scale the diameter of a cylinder. To make the cylinders I used a function that I'd developed before to produce a 3D cylinder from point to point in 3D space: Aperture Grille Resources and Code

Anatomy of a Program This tutorial is for Processing version 2.0+. If you see any errors or have comments, please let us know. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. You can download the files from this tutorial. Many of the tutorials for Processing concentrate on what the language can do (change colors, draw shapes, create arrays of objects) and which function calls will let you accomplish these tasks. These are things you need to know in order to write a program in Processing. There’s one piece of the puzzle that these tutorials don’t address: how do you analyze a problem and break it down into steps that the computer can do? Remember that what you are seeing here is my particular thought process and programming style. Drawing Regular Polygons You wouldn’t think of building a house without a blueprint, and you shouldn’t think of writing a program without a plan of some sort. Step 1: Planning on paper Step 2: Some basic trigonometry

Related: