goodbye Blogsome :-(

December 18, 2011 – 3:33 pm

Sadly, Blogsome is going to be closing down permanently
it was three years of happy blogging thank you blogsome for your goodness .

but i didn’t give up blogging yet,
i think i still have dozens of lines and curves to draw and share and dozens of lines of codes and bla bla bla :-) to post


so i will continue bloging on http://flashing.blogs.ie  see you there>>>


My adventure book

November 18, 2011 – 7:11 am

sketch from UP the movie.


throwStuff html5

October 14, 2011 – 3:38 am



Press the mouse button down on the above box to throw some stuff.


Tyrant Hunt

October 2, 2011 – 6:07 pm


I quoted the game idea form Tweet Hunt
But instead of shooting innocent birds why not shooting a tyrant.


Arabesque

September 21, 2011 – 9:42 am

Let me share some tips with you, my dear reader ;)
All the graphics you see are generated by combinations of 7 blocks

With addition of a possibility to flip each block horizontally


var flip:Number = Math.random();
if (flip<0.45)
{
	flip = -1;
}
else
{
	flip = 1;
}
block.scaleX = block.scaleX * flip;

A circle distribution with random blocksNumber and random diameter


for (var i:int = 0; i < blocksNumber; i++)
{
	block.x = diameter * Math.cos(angleRadians(360 / blocksNumber * i));
	block.y = diameter * Math.sin(angleRadians(360 / blocksNumber * i));
	//rotate the block to face the center
	block.rotation = Math.atan2(0 - block.y,0 - block.x) * 57.2;
}
	
function angleRadians(angle:Number):Number
{
	return (angle * Math.PI) / 180;
}

And a touch of antique color limted between 0xCCCCCC  and  0xFFFF33

var antiqueColor:ColorTransform = block.transform.colorTransform;
antiqueColor.color = Math.random() * (0xFFFF33 - 0xCCCCCC) + 0xCCCCCC;
block.transform.colorTransform = antiqueColor;