Skip to: [ search ] [ menus ] [ content ] Select style [ Aqua ] [ Citrus ] [ Fire ] [ Orange ] [ show/hide more content ]



A* Shiny’ness

  

So today was an unusually rainy day in Manchester, so I was pretty much grounded to the house for the afternoon. So since I was bored I decided to play around with doing a proper A* implementation (none of that hacky Dijkstra crap this time) for another project of mine.

While I was testing it I got it to draw on to a bitmap the Open List and Closed List (for all of you are thinking “the what what a what what?” have a look here) so I could better see how it was working and if I could optimize it a little better. After playing around with it for a couple of hours I got it to a point I was fairly happy. However I also noticed that there was a clever little side effect of what I did. The drawing of the Open and Closed lists seem to grow and follow along the main path, it seemed to resemble a bush or a tree or a lightening spike or frost covering a window; All very organic shapes which are quite hard to replicate in their static state let alone animated.

So I changed the map I was working with to be just random noise of 50% probability of wall or not, randomly placed start and end points and let it run. It was pretty cool! So I played with it a little more to add some colour variation and to fade out as it went on and here is the final output

Update

Today I wanted to test it on more of an obvious map. I’ve upped the speed a little too. I’m using the map from GTA1 thats been made twice as complex (scaled down and copied 4x) to test the system properly. The longest path was 5 seconds, the shortest 12 milliseconds, you can see it here.

.
 

Mandelbrot in weird places

If you have read any of this blog, you’ll know I like fractals and music. I was at the Big Fish practise place at BeeHive Mill in Manchester this afternoon, and after practise I was waiting outside with my guitar and amp for my taxi. I turned round to see this image on the wall. Its a Mandelbrot that was spraypainted on the wall. I think it takes a special sort of person to spraypaint a mathematical anomoly on a wall.

 Mandelbrot at Big Fish Coporation.

Having Trouble with Chapter 8 in Foundation Flash CS3 Video?

If your attempting the Exercises in Foundation Flash CS3 Video and you get a compile error along the lines of: “1172: Definition com.deviant:HueColorMatrixFilter could not be found.” Then you have come to the right place! You can download a full copy of the correct file here (Hue ColorMatrixFilter), all you need to do then is place it in the /com/deviant folder in your Exercise folder.

The authors seemed to have bungled that but never mind!

Download!

A change of heart…

Earlier in the week I mentioned I was going to change this site such that I will not have my personal blog on here anymore. That said this morning I got an email from a prospective employer saying they found me when they google’ed “Actionscript” and “Manchester” which is the sort of search I want to turn up in… Well that and “Awesome Cool Rich People”… So I may keep this site and make slashflash.net my more experimental site instead!

Just while I’m here and writing my blog I thought I’d have a rant… because well… thats what bloggers are supposed to do! But on the BBC News page this morning I was somewhat shocked at their prioritizing. There were 3 main stories on the UK page; One about tobacco prices being “unlawfully fixed”, one about North Korea & Syria possibly having nuclear weapons and the US poking them with a stick, and another about the police search for the killer of a disabled man.

BBC News

Now something to me seems wrong when the Tobacco story is ranked higher than possible nuclear war and the death of a cripple… Are people out there so hooked on the cigs they don’t really care what happens in the world as long as they get their cigarettes? Oh well…

Alternativa 3d Released!

On my Daily blog round I found out that Alternativa 3D was released last night! You can now build your own applications using the Alternativa 3d! Go check it out at: http://blog.alternativaplatform.com/en/2008/04/23/alternativa3d-licensing/

Links

  • parentNode.org
    The building blocks of a solid frontend.
  • anttikupila.com
    Antti Kupila’s Personal Site.
  • Chris Benjaminsen.com
    Chris Benjaminsen’s personal Site.
  • Barcodepedia
    An online Database of barcodes by Chris Benjaminsen
  • nonoba.com
    An online Games site centered around the developer.
  • Flash Bookmarks by Speed|90
    A Collection of bookmarks related to flash and flex
  • SlashFlash.net
    /Flash is an Adobe Flash based community based around #Flash Quakenet
  • Statistics

    WordPress database error: [Table 'matt.wp_categories' doesn't exist]
    SELECT COUNT(*) FROM wp_categories

    There are currently
  • 80 posts
  • 38 comments
  • categories