Code
Anything that has to do with writing code
After having the new Motorola Droid for about a week, I've been very impressed with it’s features, usability, and experience.
Previously I was using a windows mobile phone, and as far as usability goes, Android is leaps and bounds better then even the latest (6.5) version of Windows Mobile.
Although, when I show my phone to an iPhone users, they generally complain about the lack of multitouch, especially in the web browser, and the on-screen keyboard. I think that feature alone will end up being a major sticking point when people talk about switching from the iPhone to the Droid.
As you...
Lately I’ve been playing around with generative art for framing and hanging, this is a collection from some code I wrote in Context Free. I’ve also recently discovered the function to render at high resolutions and really adds another dimension of detail in this kind of recursive art.
The frames you see here are cropped sections of one of the renders I found interesting.
If you want to explore one of the 5000x3500px high-res frames, it’s here: Missile Cloud 8 – VBX (7mb). I also have a 10k pixel, 22mb version, if anyone is...
Zignig from Thingiverse posted a python script called "Parametric Papercraft" that will draw boxes of any size based on my folded box design. It’s a cool idea that I highly recommend checking out.
I’ve been playing around with Context Free lately, it’s a 2D generative art program, meaning you can create art from code. Here’s the code for the above images: 1: startshape SPIKES
2:
3: rule CENTER {
4: 10* {r 36} SPIKE { y 25}
5: }
6:
7: rule SPIKES {
...
I spent quite a bit of time today getting a Adobe Flex application to login into a TurboGears site and I couldn’t find any good articles on how to get it to work correctly, after quite a bit of trial and error I was able to figure it out. Here’s quick post on my findings.
Form Fields
The main trick is to get the POST form parameters correct. The default TurboGears “identity.form” parameters in your app.cfg are:
identity.form.user_name="user_name" identity.form.password="password" identity.form.submit="login"
To mimic those POST fields in Flex here’s what the mx:HTTPService would look like:
<mx:HTTPService id="tg_login" method="POST" url="http://localhost:8080/"...
I recently created a entry for the Spark Competition, go check it out and rate it highly. There’s 188 entries and the top 50 win a VIA Artigo Pico-ITX system which I’ve been excited to see since it’s release. I wrote a blog entry about it back in December. The Spark Competition is for Microsoft's new embedded development environment focused on the new .Net Micro framework. Microsoft's new framework is for lower-end microprocessors. While it is a Microsoft product it has some very interesting features like higher-level access to networking, interface, and data libraries. There...
I’ve just released version 1.5 of the PSCombine program. I’ve put quite a bit of time and effort into it the last few days trying to make it more flexible, and easier to use. Head over to 4volt.com/projects/PSCombine/ to download the new version. If you enjoy PSCombine, you can always donate, or just drop me a note. Here’s a quick rundown on the new features: Live View When you are actively generating images you can use the “Live View” tab to view the images that Photoshop writes immediately after they are...
I've posted the first version of my image randomizer program, I like to think of it as "Computer Assisted Art".
http://4volt.com/projects/PSCombine/
If you have any issues installing or using the program, email me, or post a message here.
Update: I've released version 1.0.4 that solves some incompatibility issues with Photoshop CS3. If you previously were having issues and were running CS3, download and install 1.0.4.
I’ve written a program that randomly selects photos from my collection and then combines them with a random opacity and blending mode. Generally, I generate 5,000 random combinations then manually sort though them and select my favorites. About 1 in 150 make the cut.
The following photos were randomly combined and mixed to create interesting new art. I like to think of this as "Computer Assisted Art".
I’ve published my most recent gallery here: 4volt.com/art/, the images in this post are from there, as well as part of my ImageBook 2008 printed book (also available as PDF) that I'm giving...
I came across this flash based genetic algorithm on Hack A Day.
If you are unfamiliar with genetic programming, the concept is for a program to "evolve" a solution to a given problem. A random population of candidates is generated and each is scored against each other and the fittest survive to the next generation where they are again randomly modified. With enough time and a good scoring system you can evolve a solution, this little flash app perfectly illustrates the concept.
In this instance flash tries to evolve a car where the red dots (passengers) are protected from the bumpy road....