August 2 2010 by
blackpawn in
coding |
a few months ago i wrote my first iPad code and my first shaders for iOS devices. i made a fun 3d globe control for ABC News’ iPad app! it’s a bunch of cards on a sphere that you slide around to browse through news stories. it doesn’t use any standard projection method but instead [...]
July 7 2010 by
blackpawn in
coding |
i posted a few months back on using the scalable vector graphics (SVG) web format for visualizing data structures. i keep finding more great uses for it! by now i’ve also put it to work visualizing GPU memory allocations, asynchronous file operations and access patterns, hierarchical per render frame CPU work, and location based data [...]
if you’ve encountered me at all in the last week either in person or online then you know i got into the Starcraft 2 beta!!@ with Starcraft still being my favorite game of all time i can’t help but be exploding with excitement over this! now i’m not going to write a big review or [...]
this year i’ve been working on the next version of demo studio. so in brief, version 1 (tokyo, mudballs, ccc) was your typical drop effects into a timeline and edit the parameters, version 2 (hofn, sokuseki) had more powerful sync and scripted effects, version 3 (n-0505, blockparty invite) was entirely code driven with pop-up ui [...]
so 16 years ago i started keeping a journal, 14 years ago i started saving all my source code, 10 years ago i started saving regular screenshots of my projects and since then have been accelerating the rate at which i store off snapshots from originally around one every month to by the end of [...]
December 6 2009 by
blackpawn in
coding |
so i found dropping SVG to disk is an easy and fun way to visualize or debug data structures. here’s all it takes in C: FILE * fp = fopen(“kdtree.svg”, “w”); fprintf(fp, “<svg version=\”1.1\” width=\”1024\” height=\”1024\” xmlns=\”http://www.w3.org/2000/svg\”>\n”); fprintf(fp, “<line stroke=\”#%06x\” stroke-width=\”.1\” x1=\”%f\” y1=\”%f\” x2=\”%f\” y2=\”%f\”/>\n”, …); fprintf(fp, “</svg>”); what’s nice is then you can load [...]
so i gave video strokerization a try and it turned out pretty cool. here you can see the nine inch nails march of the pigs music video strokerized: for this i told strokerizer it could only paint 64 brush strokes each frame so it didn’t get much chance to fill in fine details with the [...]
so previously i blogged about my glypherizer experiment to approximate images with a small number of font glyphs. unfortunately it didn’t meet with the fantastic success i had hoped. the ideas were still a bit itchy though so i wound up working some more on it. this time around i used images instead of font [...]
some time back i was experimenting with some procedural animation and simulation as part of researching how i could animate a creature for a future demo. i didn’t really achieve what i was wanting but i had a lot of fun playing around with it and giving some life to a bowl full of worms. [...]
August 16 2009 by
blackpawn in
coding |
back in april i sketched out then wrote up code to generate the ‘elektropolon’. in my head it was this weird organic sack hanging inside another sack and having lots of small tubes suspended between and connecting the two. i imagined it pulsing or beating like a heart and shaking the tubes as it responds [...]
i was trying to make some cool stuff out of text glyphs and kinda failed. i thought: wouldn’t it be neat if i could reproduce an image using a small number of glyphs from wingdings or even a regular font? i’d only need to store the quantized position, rotation, scale, the glyph itself and some [...]
my first iphone app has made it’s way to the app store! just search for “plasma effect” to find it in the store (or click here to open in itunes directly) and download it for free! the app is a modern implementation of the old school demoscene plasma effect. while running you can touch the [...]
gloom, kirill, and i have released our invitation demo to blockparty 2009! you can visit pouet.net to comment on the demo or watch it online at vimeo or capped.tv. hope you enjoy it! blockparty 2009 invite from blackpawn on Vimeo.
January 19 2009 by
blackpawn in
coding |
i needed a quick script tonight to export a slew of curves outta maya and google failed me so now that i’ve hacked a quick script for it i figure i’ll post it for future lazy coders here you go – a simple python script to export curves from maya from maya.cmds import * import [...]
not long ago i was tackling again the problem of getting nice sync between visuals and audio and tried a bunch of different things. i made this tool to make manually syncing pretty efficient. it shows you the waveform or amplitude or other visualizations and you draw a curve on top of it with some [...]