After looking around a little, while there are a ton of very impressive projects to look at, I am sure they were huge undertakings. The one I found that seems like I would enjoy using as a guideline for a project reminds me of a toy I love as a kid... Spiral-Doodle or something like that. You draw around and it makes a symmetrical sketch of surprising intricacy. This is works on that premise but without the locked in discs creating pre-designed results using your mouse and I find it fun to play with still. Here is the link to the app they have posted.
http://oimotabe.com/processing/20/
Don't see any code for it, but that's likely ok. It's not the most complicated seeming program, but I am a fan of the results even if more often than not it looks like a bunch of scribbles being drawn.
Thursday, January 29, 2009
Thursday, January 22, 2009
Homework 2: Line, Circle, and web

Well, its by far the best of the 3 algorithms, mostly because it actually worked. Although, it also is a more interesting looking thing as well. Knowing how lines and other shapes are created is something that is good to know too though.

Had some problems with these two. The circle is essentially there, which I count as at least a partial success. As for the lines, the one at the angle was created with the built in liine function and the horizontal one was supposed to match it entirely with my own. Obviously I missed something but I haven't been able to determine where.
Thursday, January 8, 2009
Homework 1, An Intro to Processing

This software is actually surprisingly easy to catch on to. Considering I spent 40 min to an hour on it, the sword I threw together with the basic functions is neat enough. Below is the code used to create this image. And yes, I agree, that red background is way too bright, but I am ok with that.
void setup()
{
size (400,400);
stroke (225);
background (255, 0, 0);
}
void draw()
{
//blade
line (169, 50, 169, 280);
line (184, 50, 184, 280);
line (177, 10, 177, 273); //center line
line (169, 50, 177, 10);
line (184, 50, 177, 10);
//hilt left
line (169, 280, 140, 275);
line (169, 280, 177, 273);
line (140, 275, 137, 282);
line (137, 282, 168, 290);
//hilt right
line (184, 280, 213, 275);
line (184, 280, 177, 273);
line (213, 275, 216, 282);
line (216, 282, 185, 290);
//grip
line (168, 290, 185, 290);
line (168, 290, 170, 340);
line (185, 290, 183, 340);
//pommel
ellipse (176.5, 345, 20, 20);
//jewel
ellipse (176.5, 283, 5, 5);
saveFrame ("sword.png");
}
Subscribe to:
Posts (Atom)