It was just your typical InterfaceBuilder 3 window…
with your vanilla NSImageView…
referring to an image file within an Xcode project…
Holy Cow! An Acorn file? Does that mean I can use Acorn files directly in Interface Builder 3? Does that mean you’ve written an NSCustomImageRep that understands the Acorn file format? Does that mean I can use [...]
[Read more →]
Tags:Acorn·Cocoa·Flying Meat·gus mueller has a posse·Source Code
Thanks to Matt Gemmell for pointing out that Apple has finally provided a pie chart style NSProgressIndicator for the circular/determinate modes. This style is new to Leopard. This means my Toxic Progress Indicator class can be retired, at least for 10.5+ only applications. Leopard has really helped to retire a lot of my code (for [...]
[Read more →]
Tags:Cocoa·Default·Source Code·toxic progress indicator
It’s my second year of coaching a First Lego League team. The experience has been fantastic, I’m teaching 4th and 5th grade children about robots and computers, and teaching them to build and program their own robots. This year the kids are going to be learning how to use the new Lego Mindstorms NXT robot; [...]
[Read more →]
Tags:Cocoa·Lego·Links·Mindstorms·NXT·Source Code·SpaceNavigator
3Dconnexion (a division of Logitech) produces the coolest named device ever: The 3Dconnexion SpaceNavigator
. This is a 3D input device with 6 degrees of freedom, meaning you can move and rotate it through the X, Y and Z planes. I bought it originally on a whim (hey only 50 bucks!) for use with Google Sketchup [...]
[Read more →]
Tags:3Dconnexion·Acorn·Cocoa·Flying Meat·Source Code·SpaceNavigator
August 4th, 2007 · Comments Off · Default
I’ve had a lot of emails asking where the subversion repository has gone.
The simple answer is I’ve stopped hosting my public subversion repository on DreamHost and have now created a Google Project for it. The project URL is:
http://code.google.com/p/toxic-public/
And the subversion root is here:
http://toxic-public.googlecode.com//
Google will be a lot more reliable than DreamHost ever will be. I [...]
[Read more →]
Tags:Source Code·subversion
I recently needed to embed the ‘Discrete’ variant of the NSLevelIndicatorCell into an NSTableView. The discrete cell looks like this:
Unfortunately adding the cell caused drawing of the table’s window to slow to crawl. The spinning beachball of death would often appear when I was merely resizing the window. After some quick experimented I narrowed [...]
[Read more →]
Tags:Cocoa·Default·NSLevelIndicatorCell·Shark·Source Code
I’ve moved all the SequenceGrabber utility code into its own framework: ToxicMedia.framework, the code is available from trunk/Frameworks/ToxicMedia. All my projects that use CoreImage, CoreVideo or QTKit now depend on this framework. Now I don’t need to update 4 or 5 projects every time something changes.
I’ve also branched all the test projects and the framework. [...]
[Read more →]
Tags:Source Code·toxicmedia
October 20th, 2005 · Comments Off · Default
Spurred on by interest in my Sequence Grabber source code I’ve added a whole slew of new functionality to it tonight (for various reasons this code is a lot of fun to work on). The most important change is CCoreImageView now supports Cocoa bindings and has an Interface Builder palette. This means you can easily [...]
[Read more →]
Tags:CoreImage·corevideo·isight·quicktime·sequence grabber·Source Code·toxicmedia
October 13th, 2005 · Comments Off · Default
My sequence grabber code (previously mentioned here) has been updated. It should be a lot easier to get up and running now – I’ve added a “CSequenceGrabberView” NSView subclasss that you just need to drag and drop into your nib’s NSWindow. I’ve also improved the error handling so that the lack of a plugged in [...]
[Read more →]
Tags:CoreImage·corevideo·isight·quicktime·sequence grabber·Source Code·toxicmedia
I’ve added basic motion detection capabilities to Cocoa Sequence Grabber code now.
This is what happens when your cat wakes you up too darn early after peeing under the computer desk.
Sample movie (MP4/QuickTime 7 required, 64KB file): MotionDetection.mp4
No those aren’t mpeg encoding artefacts, those are my attempts to highlight the motion in the movie.
Source code: http://toxic-public.googlecode.com/svn/tags/BlogTag_20070927_729/Frameworks/ToxicMedia/Samples/SequenceGrabber [...]
[Read more →]
Tags:CoreImage·corevideo·isight·quicktime·sequence grabber·Source Code·toxicmedia