DevLog

Explode Code Updated

by BlueThen on Dec.03, 2009, under Dev Log, Personal

I didn’t have much time last night to fully revise Explode’s code. So today I finished that job. I revised a lot of the comments, converted the coordinates from float to PVector datatype, PVector is a class object in Processing’s API, which allows programmers to easily manage vector coordinates in 2 or 3 dimensions. I combined two calculations done to find the new coordinate of each particle into one, among other changes.

I also updated Galaxy, but I’ve yet to document the actual app on here. If you’ve seen the app before (on OpenProcessing), you’ll find that there’s a noticeable change now.  The speeds are inverted. Instead of being faster on the outside and slower on the inside, it’s now faster on the inside and slower on the outside. I also did similar changes to Galaxy as I did to Explode. Coordinates converted to PVector, and revised comments and code.

It’s been pretty hard in keeping up with programming. I’m taking Drivers Ed, which is taking up a good part of my day, and I’m often exhausted by the time I return from school.


Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!