Email or username:

Password:

Forgot your password?
nate parrott

this week i'm FINALLY going to share + open-source three little random projects I've been working on!

here's the first one: BALL

it's just a little ball that lives in your dock. take it out, throw it around, put it back. comes in one color: red. it makes a little bouncy sound when it hits the walls of your computer. like all good balls, it also casts a shadow.

5 comments
nate parrott

it's inspired by this classic Dock widget by @nheagy which i have lots of fond memories of

the floating red ball Dashboard app from Mac OS X Tiger
nate parrott

@nate

technically, the Ball is a transparent SpriteKit window with a physics body (the ball). the only remotely interesting thing here is that it animates in/out of its dock icon. you technically can't do this, but you can SORTA guess where the dock icon is, so it SORTA works!

nate parrott

anyway, here's the code (plus a pre-built download):
github.com/nate-parrott/ball

stay tuned for project 2 of 3 tomorrow :)

Neil Sardesai

@nate can u toss it between multiple displays tho

Go Up