Archive for September, 2009

XCode openFrameworks Templates

I have been using my own file templates for openFrameworks for a while now, but since I found out about this in China and was messing around with it on a train between Shanghai and Hangzhou I totally forgot about it. Recently people in class have been asking about creating classes in OF, so I’m taking this as an opportunity to fix some things I have been meaning to correct in my file templates and put them up for people to share/use.

These templates are file templates, if you’re looking for Project Templates Memo Akten has a great post on how to install his XCode project templates for both desktop and iphone. You can check that out here:

Memo’s iPhone Templates

To install these templates, you first need to create the following folder:
(Your Hard Disk)>>Library>>Application Support>>Developer>>Shared>>XCode>>File Templates

NOTE: This folder probably doesn’t exist yet, but this is the main place XCode will look for your templates. This is different than the Apple templates, which are in the following directory:

(Your Hard Disk)>>Developer>>Library>>XCode>>File Templates

This is a great place to look at the built in templates (this is how I figured out how to create these templates), but you shouldn’t modify these or depend on them because I believe they get changed when you update XCode.

The next step is to download the zip I’m including below and copy the files into your File templates folder (specified above).

Now if you go into XCode, open a project, right click on the SRC folder and select “Add>New File…” you’ll be presented with a dialog. You should see the category “User Templates” on the left, and under that “openFrameworks”. Click on “openFrameworks” and select “basicClass”. Hit “next”, name your class, and click “finish”.

You now should have a new OF/C++ class ready to go with the basic setup(), update() and draw() functions, header includes, definitions, etc.

Enjoy!

Files for Download:
openFrameworks File Templates

Continue reading » 2 Comments

New Work!

Here are a few things I have done recently, I think all for my setPixel class. My thesis work is in other posts and my data vis class is still getting rolling work-wise (expect a first project from there by next week), so most of the work I have done this semester is from this class.

I won’t go crazy into descriptions, but basically the images here use algorithms I wrote to accomplish “square-packing” and “circle-packing” by finding the largest square or circle that would fit in each image, drawing it, then finding the next largest, so on and so forth till the image is recreated using squares or circles. Really hard for me to figure out but the effect is awesome and was well worth the effort I think!

soup

soupsquares

soupcircles

These videos are made by averaging the pixels of two movies (The Darjeeling Limited) and reproducing the colors of the frames from every second of the movie. Really interesting how a movie as colorful as the Darjeeling Limited reduces to a lot of browns (most likely due to complimentary colors)

Continue reading » No comments

Rules for Multitouch Interfaces

Here is a really interesting study on multi-touch interfaces with tips on how you can create great/usable interaction and limit the amount of user frustration. Really helpful to me as a person who is just getting started with multiple inputs.
Multitouch Maven: Proof that Multitouch Isn’t Intuitive

Continue reading » No comments

Summer Research

This is a summary of the research and experimentation I did this summer in preparation for thesis. A lot of hard work has started to pay off as my concept is beginning to take shape!

Download/View the PDF here

Summer Paper

Continue reading » No comments

Pixellated Numbers!

Tags: , , , , ,

Here is a quick edit I made of 5 pixel-based simple animations I made as an intro assignment for the class setPixel() at Parsons.

Each number is executed in a different language and animated in some way. Some came out more successful than others, not super happy with the processing one but there wasn’t a lot of time to work on them.

Languages used (in order): PHP, openFrameworks, Processing, AS3, Javascript

Continue reading » No comments

Sweet Flash-based multimedia Multitouch toolkit

Here’s a new toolkit for multimedia stuff using a multitouch table. Overall its been done before but just nice to have a good reference video with everything together. Awesome to see methods for using multitouch to my advantage. One thing i’m quickly realizing about multitouch is that unlike print or even a traditional computer screen, there is no real orientation unless you place it against a wall or something. I’m quickly finding out that you have to account for 360 degrees of interaction which is both challenging and awesome at the same time!

Continue reading » No comments

And the spending begins…..

So I started buying the things I’m gonna need for my multitouch table after doing a shitload of research…

I have decided upon a Diffused Illumination setup vs a FTIR setup so that I have the option of doing fiducial tracking, which I really want to do. Its also a lot less work as far as soldering/powering/etc although I think its tough to get real good/even lighting.

Its actually pretty cheap to build a table, with the exception of the projector, which even at a heavy discount through an ebay purchase is still a pretty swift kick to my financial groin….

I settled on a BenQ MP522 Short Throw projector for both the ridiculously short throw distance (1.2 feet?!?!?) as well as the 1024×768 native resolution so I don’t get a super pixellated image. Its capable of 1280×1024 but I don’t know how that will looks since its not native. It also has 2500 lumen brightness, so it should be plenty bright for most indoor lighting. The projector goes for $870.00 new on Ebay but I got a unopened refurbished version with 0 hours on the bulb from ebay for $650.00 (plus shipping). Hopefully this will be by far the most expensive thing I purchase for thesis and I can build this table and concentrate on making software!

24-014-192-02

Here’s the projector’s New Egg page

I also ordered some IR flood lights for the table here. $18 a piece for arrays of 30 powered infrared super brights, not a terrible deal. I found another site with $16 arrays of 48 but the site has bad reviews and the lights didn’t look as nice.

ir30

I bought these here

Next things to do/buy:

  • I need to get wood and plexi once I decide on dimensions and screen size. I’m thinking something around 50 inches diagonal would be pretty nice, not too big but not too small either.
  • Take apart a PS3 eye and install an infrared filter on it. Also probably should get a wide angle lens for it
  • Lee 225 lighting film for the projection surface and also diffusing film for the box
  • power strips

I think thats it, getting there slowly but surely!

Continue reading » 2 Comments

And I’m BACK!

IDK if anyone actually reads this blog on a regular basis of any kind or subscribes to my rss…but just wanted to say I’ve been posting everything this summer to another blog (thesis.vargatron.com) but I felt like I was ignoring this one (I was) and got sick of it. So I imported all my posts and I’m now back to using this blog exclusively. I feel like I’ve built this blog up pretty nicely and its better to just keep it going, plus I didn’t feel like making ANOTHER wordpress theme. Ugh.

So what have I done all summer? Thesis research, traveled to China for a month, worked on things for developing nations in Africa, taught an introductory graduate course, and worked with Zachary Lieberman on a number of projects (one of which is redesigning his site so that its not insanely crazy and hard to update…thats coming soon).

Other than that I just started school again so expect (hopefully) a lot of updates on everything.

Continue reading » 1 Comment