GPU Life

January 26, 2009

After a night of extreme boredom I present…GPU Life! A faast implementation of Conway’s Game of Life

Life!

It runs on the GPU as a fragment shader, and is fully capable of running at 60FPS, with 1.6 million cells using only 5% CPU on my (1.5 year old) laptop. Screensaver potential at 25 fps or so? if anyone wants to try it, you will probably have to change the WIDTH/HEIGHT defines in main.c, and in life.glsl.

Repository at
http://hortont.com/repo/life

Some mixed code and concepts from GPUlife for OSX and some various shaders around the internets.

Scrolling!

January 22, 2009

I posted this before, but wanted to repost it to planet. (Hi planet). I never have gotten the patches finished, because I ran in to a few problems with GDK XInput stuff, that I don’t entirely understand…however it’s something I’m going to revisit in February.

“So it hit me that I’m always complaining about look and feel, and various usability issues, but actually spend most of my time writing silly window managers, and increasingly obscure bits of JavaScript (Hey, if you ever want to write an asynchronous, GLib main loop integrated network server in JavaScript, I’ve got you covered now).

So without further ado I present:

Bad scroll:

Bad scrolling from Robert Carr on Vimeo.
Good Scroll:

Awesome scrolling from Robert Carr on Vimeo.

It’s worth noting that this isn’t like the firefox “smooth scrolling” where in fact scrolling is still in discrete steps of dozens of pixels, you can actually scroll by a pixel at a time here. Right now the code is in a somewhat adhorent state, but I’ll have it cleaned up within the next few days and post the xf86-input-synaptics patches, and the assosciated GTK patches.”

GTK+

December 23, 2008

I currently have 4 local branches of GTK.

Goal for the week: Get at least one on Bugzilla.

Look and Feel

December 18, 2008

So it hit me that I’m always complaining about look and feel, and various usability issues, but actually spend most of my time writing silly window managers, and increasingly obscure bits of JavaScript (Hey, if you ever want to write an asynchronous, GLib main loop integrated network server in JavaScript, I’ve got you covered now).

So without further ado I present:

Bad scroll:

Bad scrolling from Robert Carr on Vimeo.
Good Scroll:

Awesome scrolling from Robert Carr on Vimeo.

It’s worth noting that this isn’t like the firefox “smooth scrolling” where in fact scrolling is still in discrete steps of dozens of pixels, you can actually scroll by a pixel at a time here. Right now the code is in a somewhat adhorent state, but I’ll have it cleaned up within the next few days and post the xf86-input-synaptics patches, and the assosciated GTK patches.

Notifications

December 14, 2008

After some discussion at UDS, I’ve just sent a notification daemon patch upstream.

There is no cabal.

There is no cabal.

Back from UDS

December 14, 2008

So exhausted. Have to take 2 weeks to rest up before I start work in 2 weeks.

Except I can’t because I need to release Seed 0.2
Such is life.

Overheard at UDS

December 12, 2008

“Yes he’s been to space, that’s awesome”

“I mean, I’ve never been to peru, but I’ve heard of it”

“Rocky Horror Desktop Show”

Blog!

November 13, 2008

So, I have a blog now, I’ve been wanting to have a space to write about what I’m working on for a while, and maybe I’ll find some other interesting things to do with it. I’ll probably write a post on Seed sometime this week.