Mike Chambers

code = joy

Archive for March, 2011

JavaScript Voronoi port

with 3 comments

I have always been amazed by some of the digital art work that Mario Klingemann (aka @Quasimondo has created using with Voronois. After doing some searching, I found an early ActionScript 1 Voronoi implementation that Mario did, and I ported it to JavaScript.

I wanted to share the results:
Read the rest of this entry »

Written by mikechambers

March 24th, 2011 at 12:19 pm

Posted in General

Tagged with , , , , ,

JavaScript QuadTree Implementation

with 9 comments

Last week I was playing around with a little EaselJS experiment which required me to do collision detection against all items on the screen. This worked fine with a small number of items, but of course, the more items I added, the slower everything became.

I knew that I needed to optimize the code, and pare down the number of collision checks. I have done this before with a grid (even held a contest for it) and was going to port that AS3 code to JavaScript. However, Ralph Hauwert suggested I look at implemented a QuadTree, which should be more efficient.
Read the rest of this entry »

Written by mikechambers

March 21st, 2011 at 9:24 am

How to enable English translation for Japanese NHK Channel on Comcast

with one comment

Comcast has made the Japanese NHK channel available for the next week. It can be accessed via channel 330 on Comcast. The broadcast is in Japanese, but if you have an SAP enabled TV or set top box, you can listen to a translation of the broadcast.

It took me a while to figure out how to enable secondary broadcast on my Comcast box, and I didnt find much info online, so I wanted to post it here in case anyone else was interested.

Using your remote, click the Menu Button, then go to:

Menu > Setup > Audio > Audio Setup > Default Audio Track

Set the Audio Track to “Espanol“.

Right now, they are rotating between multiple languages (including English), and repeating tsunami warnings.

If you have info on how to access it for other Cable boxes, then post them in the comments.

Written by mikechambers

March 12th, 2011 at 11:00 am

Posted in General