In case you didn't know, pixelpusher (evan.raskob) is a live video performance artist, or "pixelist" based in London, UK. Click the Info button above for hiring and contact info.
code

Creative Pact Day 2: CatFishTron

by pixelpusher on Wednesday 1 September 2010
[Blog, Software]

Creative Pact Day 2

Creative Pact Day 2

Today I’m going to create more of a “game,” eventually called CatFishTron.  No, really.  I’ll be learning how to add sound to a game, a moving background, and maybe, if I have time, add some self-removing sprites (for explosions, etc!)

First task – to make a sprite “blow-up” in AndEngine you use a SequenceModifier and attach it to the Sprite:

this.mBlowupModifier = new SequenceModifier(new ScaleModifier(1.0f, 1.0f, 0.2f));

final IShapeModifierListener listener = new IShapeModifierListener()
 {
 public void onModifierFinished(IShapeModifier arg0, IShape arg1)
 {
 // this is a function in my main Activity that removes a sprite entity and physics body in a separate thread
 destroySprite(_spriteEvent.mSprite);
 }
 };
 //set a listener to listen for the modification having finished
 this.mBlowupModifier.setShapeModifierListener(listener);
 // attach it to the sprite entity object
 _spriteEvent.mSprite.addShapeModifier(mBlowupModifier.clone());

Here’s today’s code (again, it’s not complete, just building on the previous day, but you might find it interesting…)

Here’s the app itself, you can open the link on your android phone to install it.

It’s a work in progress, remember. It take a bit to make a video game… even a crappy one!

Also, I promise that at the end of this I will write a tutorial.

Now go play MeowTron.

No Comments Digg del.icio.us

Simple Depth-of-field in Processing

by pixelpusher on Friday 25 June 2010
[Blog]

I hacked up an example of doing depth-of-field in Processing, based in part on the Bloom example that comes with the GLGraphics library, and heavily in part on Memo’s pervious experiment with DOP.  It does depth-of-field based solely on the brightness of the pixels, and relies on the fact that the background is white, but heck it’s decent.  I’ll use this for an upcoming black-and-white realtime Processing project.  Note: this won’t run on an old minimac or Macbook or netbook, I tried and it fails because of lack of OpenGL shader support.

Code at http://stuff.openlabworkshops.org/dof_test_2.zip

No Comments Digg del.icio.us

Featured on SketchPatch

by pixelpusher on Sunday 6 December 2009
[Blog, Visuals, images]

I’m proud to announce that the gang at SketchPatch.net were kind enough to make me the featured artist this month!

PixelPusher's SketchPatch Sketches

For those of you who haven’t seen it, SketchPatch is a playground for Processing sketches, where you can create, edit, share, and copy others’ sketches.  All sketches on the site are Creative Commons  3.0 attribution licensed, which means you can copy the code and use it as long as you give credit to the original author(s).

No Comments Digg del.icio.us

car circle sketch

by pixelpusher on Sunday 20 September 2009
[Blog]

done in fluxus
No Comments Digg del.icio.us
tagged:, , ,

Drawing Ribbons in Fluxus

by pixelpusher on Friday 27 February 2009
[Blog]

Playing with drawing ribbons in Fluxus (part of my mater plan to port all of my live-drawing software to Fluxus).
(This code is about 70% taken from Dave Griffith’s L-Systems drawing code – thanks Dave!)

Ribbon Drawing in Fluxus
Read on for compete source code

No Comments Digg del.icio.us
pixelpusher

Promote Your Page Too