Blog

Archive for the ‘General’ Category

ActionScript 3 Maze Generator

Sunday, September 13th, 2009

This is something that’s been sitting on my hard drive for a very long time now, an AS3 implementation of the Depth First Search algorithm, used here to generate mazes. This was originally created as a personal project, but it also ended up being applicable to a class. On both counts, the final product turned out to be pretty cool.

mikemaze_screenshot

In addition to generating mazes, it also allows you to spawn mice to mindlessly scamper through the maze. Although the same algorithm to generate the maze could be used to solve it, this would’ve been pretty boring to look at. The mice, when faced with a decision, simply randomly pick a direction to go. This simple solving algorithm also allows you to spawn a few hundred mice without any real speed loss, which makes it slightly more exciting to watch.

The only real problem with this implementation as it stands is that the mazes it makes aren’t very tough. The incorrect paths usually hit a dead end pretty quickly, making it a lot easier to backtrack and continue.

The download containing everything is attached below, released under a 2 clause BSD license.

Download SWF and source

Twitter

Saturday, January 3rd, 2009

Twitter is one of those things that a lot of people just don’t get. I didn’t either, but still signed up anyway. I’ve found already that I already use it more often than this bigger blog, mainly because the smaller message size forces you to write quick updates. It’s convenient like text messages, another technology that I didn’t get until I started using it. Essentially, it’s free text messaging with the added feature of broadcasting to a group of people.

There are quite a few clients available, too. On my Windows Mobile phone I’ve been using the standard m.twitter.com, which works more than well enough. On my desktop, I generally use Twittget, which works as a Vista sidebar gadget. Very convenient (the sidebar idea in general is) and it doesn’t create more tray icons. It notifies me of new messages in the gadget itself, and with a bird tweet sound.

If any of my 3 readers whom I aleady haven’t told about it wish to add me, check out my profile at Twitter. I’ll be looking into how I can integrate it with the front page somehow in the near future.

iPhone Web Applications

Wednesday, December 10th, 2008

RIT offer a class “Web Application Development for iPhone” and looking to fill my schedule, I’ve been taking it this quarter. Despite my skepticism at the hardware and Apple’s treatment of the platform in general, there is a lot of cool stuff there.

First, arguably the biggest feature, is Dashcode. Although it suffers from poor support and being Mac OS X only (attempts to run it in a virtual machine thus far have failed) the idea and execution is great. It is essentially a visual application builder, not unlike the old FrontPage, and the form builders in Visual Studio, etc. It does a reasonably well job of hiding the web part in web design, coming with pre-built components that match the iPhone look. Output will obviously only work on the iPhone/iPod Touch; not even Safari can run output.

Being able to target only one browser allows you to use much of the cutting edge features. CSS3, HTML5, and the more advanced JS features are all available, along with GPU-accelerated transitions. It is very much a look into the future of what all browsers will eventually support, except with a viable platform available today for immediate development.

Although the mobile web has a lot of hype and buzzwords associated with it, there is some substance to be found. It is pretty exciting to see what the next-generation of browsers will bring as a new standard. With technologies like Adobe Alchemy bringing C++ to Flash, there are certainly exciting times ahead for web applications.

Blog is go!

Tuesday, May 20th, 2008

Welcome to the new d8d blog. While there’s nothing to see yet, hopefully sometime in the future there will be ranting and raving about various technologies and stuff I’ve been working on. Until then, an obligatory intro post!