*blog... kind of... *rss 



Legal Age Verification with Actionscript
Here it's a quick snippet I had to do for this site I'm working on...

I did a quick google search to see if there was a snippet for it already but didn't find anything so I though I would share it here. I though it was going to be a nightmare job but ended up quite simple:

var legalAge : int = 18; // or 21
			
var userDOB : Date = new Date(year,month-1,day);
var today : Date = new Date();
			
var diff : Date = new Date();
diff.setTime( today.getTime() - userDOB.getTime() );
			
var userAge : int = diff.getFullYear() - 1970;
			
if (userAge >= legalAge)
	trace("lets get pissed!");	
else
	trace("go away!");

6 comments
What.CD invites anyone?
http://what.cd/

My ears need something new. Anyone happen to have any invite? :$

4 comments
Papervision3D Previewer 1.3
Trent Grover from iMed Studios missed some features and went ahead and did them himself. Once done he shared the code. I say, way to go! ;)



Here is the list of his changes:

  • updating to compile against PV3D public beta 2 (updated from svn on 09/02/01)
  • rewrote the camera system (too much has changed, but ends up simpler)
  • included loading for more model types (DAE, Ase, 3ds, kmz, MD2)
  • added animation playback for DAE and MD2 files
  • added model scale change via up and down arrow keys
  • mouse click selects current mesh for scale change

I cleaned the code (my part mostly) and made it FDT friendly. While at it I also cleaned the repository a bit.

9 comments
n0theen - 24/7 open source, netaudio stream


What I always wanted! \o/ Via Patécrème.

no comments
Sennheiser HD201


More and more people at Hi-ReS! are getting these headphones. We should get sponsored or something...

For their price (£15), the audio quality is pretty good, and the best feature, they are very lightweight and comfortable which is something hard to find even with the expensive ones.

3 comments
Following
One the right column you'll now see a list of all the feed's I follow. Uhm, on nevtibes didn't look like there were so many.

4 comments
Being economical is a sure way to be forgotten.
http://news.quelsolaar.com/#post36

Can't agree more. It also amazes me how he managed to structure the post/article so well.

no comments
Omega Code


More audio visualisers! Yeey!

Early December last year Marcelo invited me to join his Omega Code project where lots a visual artist were going to create a illustration/poster for each of the track on the band's first album.

My take on the project would be creating a visualiser for the website. Although at first I planned to create a tool to get some curves to match each track (which is something I want to do this year) I ended up running out of time and had to go back on trying to get the best out of the FFT.

On top of that, ever since the first time Ithaqua quickly explained on a random forum (spanish) his way of animating octopus-ish meshes in 3D I always wanted to implement it and this time, and as most of the posters were quite circular, this seemed to be a good opportunity.

If you're wondering how have it's done here it's a quick explanation. Imagine having 20 spheres each one slightly bigger than the previous one; all of the centred. Now hide them and draw lines from each point in between each sphere. That would be a line from the point 0 of the sphere 0 to the point 0 of the sphere 1 and so on. You'll end up with a hair ball. Unfortunatelly, the drawing API of flash is a bit slow and it will be a hair ball of 20 or so hairs. From there you should be able to guess the rest :)



Once the effect was done, it was a matter of spending a lot of hours tweaking parameters, testing with different tunes, and finally quickly integrating it with the website interface developed by scarpelini.

I hope you find the end result as mesmerising as I do :)

11 comments
Wonderfl++
Since the last post about Wonderfl I've added a couple of new snippets. Some of them are forks of old effects and some others are effects I had somewhere on my HD.















Enjoy the sources! ;)

5 comments
Dennō Coil


I was meaning to write a post about this anime last month, but I found a guy on the internet that pretty much shared my thoughts about it. So I'll be lazy and save my fingers this time:

First thoughts
Man, this is the best episode by far!
Painful second half and conclusion

On top of that, I should mention the quality of the animation cos (comparing it now with GITS SAC) it's really fluid. And also I should empathise his Augmented reality point.

Here it's the torrent you need.

3 comments
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72