7 ms·
Painting with Code
- skakri 12y agoThis is the first time I've ever downloaded code samples in rtf.
- cessor 12y agoI was confused by this, too. Also there are absolutely no imports. This leaves me really confused, wondering why why why anyone would ever do such a thing. I have two benevolent, understanding and sympathetic explanations: The author is from yesteryear and hasn't worked with other people in a while. The other one is: He is a genious hacker and knows how to social engineer most of hn. Since Most links point to the same rtf document it might just be a way to spread a very delicate RTF reader exploit..
- zackkitzmiller 12y agoEdit: I can't read.
- phpnode 12y agoopening the .rtf as text indicates the former, unless he's a super, super genius who can hide exploit code in plain sight.
- anateus 12y agoHe probably copy pasted the code from within NodeBox, which is what he's using.
- mpweiher 12y agoBack in the 90ies there was a version of NeXT's gcc that allowed RTF input. Quite neat, and I pretty sure I "downloaded" some sample code for it (probably via FTP...)
- twfarland 12y agoI've been playing a bit with generative art in scheme. The author talks about finding a way to code visual ideas. It can work the other way around, too, i.e. the algorithms we use in our programming work can themselves be a rich source of visual ideas. Inhabiting this space of translation between the visual and 'algorithmic' minds can be quite fun.
- mkesper 12y agoNodebox seems awesome! http://nodebox.net/ http://nodebox.net/
- bauc 12y agoIt's amazing the images that can be generated from algorithms. It's an interesting area. I think a lot can be learned from looking at what coders in demoscene[1] have done, easy to lose hours tinkering with them. [1] http://www.pouet.net/ http://www.pouet.net/
- userbinator 12y agoIndeed, and not only static images, but also animation and audio can be procedurally generated. No discussion of computer-generated art is complete without a mention of the demoscene. :-)
- jschulenklopper 12y agoProcessing, http://www.processing.org/ http://www.processing.org/, almost seems a de facto development environment for Generative Art - I'm surprised it wasn't mentioned. It has an easy to grasp syntax (which is translated to plain Java in the background), a simple IDE, a huge collection of examples and a selection of great books to help a novice artist on track. Some books, see http://www.processing.org/books/ http://www.processing.org/books/ for a list, especially target Generative Art. Personal recommendation: "Processing: A Programming Handbook for Visual Designers and Artists" by the original Processing authors, Casey Reas and Ben Fry.
- securingsincity 12y agoI was introduced to Processing and MaxMsp [1] in a college course where I was tasked in creating generative art and sound installations. I had no programming experience and I agree it was easy to pick up and definitely drove my interest in programming. I think its a great way for artists to get started in something that can become very complex [1] http://cycling74.com/products/max/ http://cycling74.com/products/max/ as an aside there is an open source version of MaxMSP called puredata that was also excellent http://en.wikipedia.org/wiki/Pure_Data http://en.wikipedia.org/wiki/Pure_Data
- TuringTest 12y agoGenerative Art will take off when it doesn't require expressing the code through conventional programming language syntax. A visual, interactive programming environment like those advocated by Bret Victor [1] would be ideal for artists without a technical background. NodeBox, mentioned below, have some characteristics of this, although it doesn't seem to allow the artist to create new abstractions without resorting back to Python. [1] in Stop Drawing Dead Fish. http://vimeo.com/64895205 http://vimeo.com/64895205
- delinka 12y agoWatching Mr. Victor, he tells us about how we're doing old media with new tools (painting, film.) Then he moves on to ... a puppet show using his new tools. I feel like he started with what was going to be an intriguing thesis ("make something new, not just old media with new tools") and changed to building those new tools. That criticism aside, he's absolutely correct about needing new tools to prevent the creator from needing to learn a programming language. I'd suggest that this is the case in many fields. I'd go so far as to suggest that some day most of us software creators might be able to create software with little to no code, just dragging together concepts. (I'm aware that such tools have existed and do exist. One could argue that they haven't quite nailed it and thus are not very widespread in use.)
- TuringTest 12y ago(I'm aware that such tools have existed and do exist. One could argue that they haven't quite nailed it and thus are not very widespread in use.) I believe that day may be closer than you expect. I've seen all, and I mean all the components required to build such a practical programming system. They just were scattered around systems for widely different purposes, or buried in decades-old research projects that were too experimental and heavyweight for the machines available back then. (Victor's is certainly the closer to that vision, although it still misses several key components to make it practical and widespread; a close second is the Wolfram Language). I have in mind a pet project to combine those partial tools in a way that I think would make a practical mostly-general-purpose programming language. Having some background in human-computer interaction, I think I'd be able to identify the most obvious roadblocks. Unfortunately, I'm afraid my limited skills and time wouldn't allow my to expand the system beyond a simple proof of concept. If you're interested, I think I could compile a small recollection of my ruminations and put it in a presentable form, if only to inspire others and get some feedback on my approach. I don't know though if that would make for a good Hacker News submission, does this site accept links to personal blogs discussing pet projects?
- sirduncan 12y agoThese are far from the only coding artists using environments like Processing. There are some vibrant communities around pixel art and glitch art in California, Chicago and elsewhere http://sdt.bz/66392 http://sdt.bz/66392.
- wrongc0ntinent 12y agoThe painting analogy isn't really warranted, and this article is a metaphor at best. You could replace painting with poetry, music, or building furniture. There are a few definitions of painting, and there's lots of art being made that plays at pushing those definitions, so I can't claim to have the definitive one. However, essential things, such as the interface (which is in no small part responsible for the content of a painting), and the actual final product as object, are very, very different. A medium is also defined by its constraints, and from code to screen or printout the constraints of image-making are unlike anything you have in painting. Generative art is beautiful, but not because it has anything to do with painting. Edit: If this seems harsh, it's because I care about code just as much as I do about painting. Using any one of them as a catch-all for stereotypes is intellectually lazy (and often irritating).
- hsitz 12y agoThis seems unnecessarily harsh. That this generative art and painting are both visual arts in (mostly) two dimensions seems a pretty strong similarity. Why would you compare it to genres of art less similar? Also, some paintings strongly resemble this kind of generative art. E.g, I assume code could be used to generate something quite similar to "drip painting" in general, and Jasper Johns work in particular. You can make a comparison without trying to equate the two.
- moondowner 12y agoFor those new in Generative Art check out http://www.creativeapplications.net/ http://www.creativeapplications.net/ - a lot of cool stuff is featured there.
- RobotCaleb 12y agoA friend of mine made Uncontext [0] with the goal of having people use it to create content as in this article. Instead, I made a hopping bunny. [1] [0] - http://www.uncontext.com/ http://www.uncontext.com/ [1] - http://www.uncontext.com/literature/bunny-hop http://www.uncontext.com/literature/bunny-hop
- dcre 12y agoWho is the target audience for this article? Lines like I leverage the power of my computer to generate the artwork. Where a classical fine artist would pull out his oils and brushes to express colors and shapes, I do the same with parameters. make it seem like it's written for people who have never seen code before, but then there are extensive code samples. But (!) as people have mentioned, there is almost no context given for the samples and the code file is an RTF. What? Edit: I also meant to say that 86 points for this article at time of writing this comment must mean HN is the audience. I'm not sure I like that. Edit 2: Which is not to say I don't like his work. It's pretty cool.
- bleebloob 12y agonot you clearly. leave now and never come back.
- daveloyall 12y agoHere's another generative art tool. http://www.contextfreeart.org/ http://www.contextfreeart.org/ (cfdg) Hmm, a quick search reveals that it has been posted here before, with little interest. I've done `apt-get install cfdg` (context free design grammar) and played with it. It's pretty trivial to set up an edit/render/view loop using the 'run script' function of your favorite text editor. You make movies by dumping a single frame, changing the file or parameters, repeating that, and then stitching the frames together with some external program. This tool is made for unix weenies like myself. It's functional, unless you call random(), but you can specify a seed if you want it to remain functional!
- juliendorra 12y agoInterestingly, generative art is 50 years old, maybe more! Check for example the work of Vera Molnar, creating generative art with science computers and tracers back in 1968: http://dam.org/artists/phase-one/vera-molnar/artworks-bodies-of-work/works-from-the-1960s-70s http://dam.org/artists/phase-one/vera-molnar/artworks-bodies... The national museum of modern art in Paris actually has 8 piece of a similar later work from 1976 in its collection : http://www.centrepompidou.fr/cpv/ressource.action?param.id=FR_R-c2f09c215b8ad68194d474c01d8cd1¶m.idSource=FR_O-1a1e5a215fb6166a1c4abf90707c1a7c http://www.centrepompidou.fr/cpv/ressource.action?param.id=F...
- ak217 12y agoI'll just leave this here: https://sites.google.com/site/structuralreality/ https://sites.google.com/site/structuralreality/