Advertisement Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Some revision...

Sign in to follow this  


Have had some party here this weekend...but when I waved goodbye to my guests I took uot my computer and looked at the code I had produced a couple of days ago...

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!
Sign in to follow this  


Recommended Comments

Wow no one comments in your journal do they [sad]

Anyway I got about ~170 FPS.

Share this comment

Link to comment
Original post by Scet
Wow no one comments in your journal do they [sad] one...[sad]

Perhaps I have to write something interesting soon...[smile]

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!