Monthly Archive for April, 2006

Progress

BusyBodies is a project I’ve been working on this semester as an independent study with Jeff, although I’ve been hiding from him lately because I have been dissatisfied with my progress. I need to stop doing that. Anyway, BusyBodies is a video game that lets you create programs in 3D space by arranging robots around a virtual world. There are some good reasons why I am doing this, some of which are on the BusyBodies, some of which I’ll have to write about soon.

After a marathon session of Blender wrangling, I have finally gotten some of the basic pieces of the game implemented in software form. I don’t even have a screenshot for you, because the pieces are really basic. My first couple milestones were just to get the 3D environment set up, and do basic drag and drop of 3D objects. So, the screenshot is just a cube that you can drag around the screen.

But holy crap, when I got that thing moving… that was thrilling.

It’s been a little scary because the last time I sat down to try and figure out the Blender Game Engine, I failed miserably. I ran into problems, and got completely stuck, and I was worried the same thing was going to happen here. But I think there’s a decent chance Blender will suit my needs pretty well.

And if it doesn’t, I’m completely screwed.

But, I’ve made good progress today, so I’m off to bed. Hopefully tomorrow will be another leap forward. And hopefully by the end of the week I’ll have something worth taking screenshots of.

Letter to self

I found this letter when I got in to the office today. I wrote it late last night after reading about the end-user programming workshop at CHI, which I had no idea about. I didn’t have any work to present in the fall, so I didn’t even think to look at the requests for proposals. But probably next year I should. It’s good to be abreast of these things.

Anyway, I was stressing out, so I wrote myself a letter so I might start today off a little better.

4/29/2006 4:38 AM
Dear Future Erik,

You might be feeling a little stressed out. You might be doubting your work. A lot of people you admire are doing great work in your field. Andrew Ko is doing great design work with programmers, with really superb process. At least as good as yours, probably better. Henry Lieberman, Allen Cypher, Brad Myers, and Margaret Burnett are all actively trying to push EUP forward. They’ve been on it for a long time. Mitch Resnick has been doing this stuff forever.

There are lots of great projects happening… big enduring ones like Alice and Scratch, and smaller, lesser known ones like Electronic Bricks and Curlybot that seem to have faded away.

I’m here to tell you: don’’t be stressed. Don’t doubt your work. You’ve started doing some really provocative design work with biologists. You’ve got things to show for it. You’ll keep it up for the next month, and you’ll have a great capstone. It’s different than the other stuff out there. It’s not huge, but it’s unique, and it’s good work. You’re 24, and that’s a good place to start.

And BusyBodies is a really interesting project. The problem is: it doesn’t exist yet. Put some work into it. Move it forward. You’ll be surprised how much it can move in a week.

Don’t worry about how things will end up. Focus on what you are going to start today. You’ve been doing great lately, and you can keep it up.

You’re getting there.

Now I’ve got to ride home and get some sleep. We won’t be getting an early start tomorrow, but let’s get a good start.

Best,

Past Erik

In need of subtitles

This is how you sell software:

(people on PlanetInformatics click here)

Dearth of dancing videos

It’s been a while since I made a dancing video, and the itch is coming back. Unfortunately, my standards are increasing. I want every video to be better than the last in every respect. To this end, I’ve ordered some dancin’ clothes:

Knee-High Tube Socks - OVER 20 COLORS
 Color: White / Kelly Green
 Size: 9-11	  	10.00

Flex Terry Wristband
 Color: Gold
 Size: One Size	  	4.00

Flex Terry Headband
 Color: Red
 Size: One Size	  	6.00

Poplin Short
 Color: Lake Blue
 Size: L	  	20.00

Conveniently, American Apparel thinks these clothes are all “hip”. Who knows what they’re thinking. All I know is, I can look ridiculous while supporting conscientious labor practices. Nice.

SketchUp

I just came across Google SketchUp, a cool little 3D modelling tool that Google recently acquired.


Google SketchUp’s push/pull feature

When I was in high school I was really interested in the design of 3D modelling tools. I used Caligari trueSpace, which has always had a pretty innovative user interface. Traditionally, 3D artists have used multipled 2D views–top, front, and side–to draw and manipulate 3d objects. Caligari was one of the first companies to allow you to do a lot of different kinds of manipulations in 3D space by clicking and dragging on various parts of an object. You didn’t even have to click back and forth between tools… just grab onto different parts of the objects and different things happen. It always seemed faster and more intuitive.

One of the projects that caused me to fall in love with Brown University when I was back at UConn was Sketch. The project seems defunct now, but I always thought it was a beautiful idea… you sketch an object in 2D, the software guesses at the 3D shape, and then you can rotate it around and clean it up. The fact that they actually got it to work reasonably well is a testament to the brilliant folks who built it.

One of the things I always thought there should be more of in 3D applications was drawing on surfaces in the 3D view. For example, if you wanted to create a door in a wall, I always figured you ought to be able to just click and drag where you thought the door should be, choose a style of door frame, and be done with it.

Google SketchUp seems to be doing this kind of thing. You create new shapes by drawing on existing surfaces, you drag things our in the 3D view, you can easily line things up by dragging them and letting their “snap” feature do the work. Great stuff.

I’d download it, but it’s only available for Windows. Google seems pretty un-serious about releasing stuff for Linux. That’s another entry though.

Quiet down in front!

Someone forwarded me a link to a site called Boxes and Arrows which has been newly redesigned. The sender mentioned that they found the new, bloggish design much harder to read and that the emphasis on on user ratings and comments distracts from the content of the site.

It got me thinking about ratings and comments and their place in the modern age. I think this person was right to hate the ratings. Ratings are nearly meaningless in today’s highly personalized digital world. And they were right about the graphic design, which is horrible. A design that was easier to parse visually would help a lot.

But I don’t know if I’d put rating and commenting in the same category. I mean, they are both feedback about content, but ratings are very different in that they’re aggregate, and they imply value. Comments, on the other hand, are individual, do not imply value one way or the other, and increase connectivity of the web by linking (at least) to the commenter’s profile or blog.

I think the more interesting kinds of feedback are the ones that increase connectedness. Besides comments, you see

Trackbacks, where people linking to something from their blog, and leave their take there

Favorites, like on flickr (mine are here), where people mark photos as “favorite” and then that photo shows up on their (public) list of favorites for other people to browse.

These things add value to the system by increasing its level of connectivity, which meshes nicely with things like Google’s PageRank, which uses connectivity as a measure of value.

Comments are also a good way of doing cheap research. Someone can post an article, and then in the comments, an army of people can fill in gaps in their research. Like right now. Anyone wanna comment?

Macromedia, you pain in my bum

WARNING: This entry will have absolutely no redeeming value for anyone except programmers. My apologies to all you non-geeks.

Macromedia Flash has some strange quirks, but I have to say, this is one of the strangest. While debugging some ActionScript, I got the following error:

 **Error** C:\Documents and Settings\epukinsk\
      Desktop\myalignment\Main.as: Line 126: There
      is no method with the name 'RoundTo'.

     		chargrid.SetCell(row, 0, String(0));

Except when I look in Main.as on line 126, there is no such line of code. There’s not even a mention of RoundTo. In fact, RoundTo is no where in Main.as at all.

So I start commenting out code to try to narrow down the phenomenon. If the compiler is giving me nonsense, at least I can figure out when it’s giving me nonsense. After about a half an hour, I found the bug. The offending RoundTo was in Code.as*, which is included in Main.as. Somehow when Flash finds an error in an included file, it shows up as an error in the parent file, even though it uses the proper line numbers from the included one. Go figure.

Maybe I should bulk up on compilers to get a better sense of how Flash’s preprocessor might work. Honestly, I’d rather work on other things.

* Note: You might think that Code.as is a terrible name for a source file, and in most cases you’d be right. Except in this case, I’m basically implementing a debugger. So there are objects representing code in my code. The naming issues are unavoidable.

Idea

Henceforth, when being photographed, instead of a forced smile, I will wear my emotions on my face.

Proud to be an American?

“I know this is an emotional debate,” Bush told the Orange County Business Council. “But one thing we can’t lose sight of is that we are talking about human beings, decent human beings.” (San Francisco Chronicle)

Sometimes I like our president.

Prototype progress

I made some more progree on my prototype today: The entire first stage is basically complete. I am assuming the remaining stages will be a lot faster now that I have the technical framework set up. Also, you can use the right and left arrow keys to step back and forth through the code. This has made debugging much faster for me.

I realize this thing still doesn’t make much sense to anyone but me, nor is it particularly useful. I’m working on it.

As for now, I think I am going to go out. It’s Little 5 weekend, after all.