I had forgot to convert from polar coordinates ro rectangular...I had done it the other way around...but in my code I used angles instead of xy values on my particles =)
So here is the revision nr.1.
I'm quite proud of my self, because I have made a little particle simulation without even looking at a piece of code or reading anything about it, just using my common sense...
I'll make some improvments on it...but for now its just a "big bang" simulation. One pixel in the center that explodes and sent of 360 particles in each degree, just that they bounce of the walls.
Well just dont sit there...test it!