Support NATA 2014


Main News Movies Games Audio Art Favorites Reviews Stats 845 Fans
Follow Pahgawk
Age / Gender:
17, Male
Ottawa, Canada
All Stats >

I'm an artist and programmer. I make websites, music, paintings, games, apps, and of course, animations.

User Statshot

Community Stats
Level 7 Animator
Normal Whistle
Ranked as Civilian

Macrocosm 2 Techno Song
Anticipation Pop Song
Like You've Never Seen Ambient Song
Capacity Pop Song

Latest News

I've been working mostly in Javascript for the past little while, and over the winter break, I thought maybe I'd take the time to look at Flash again. Although I think Javascript is the future of front-end web programming, I still just really like Actionscript as a language. All the problems I felt AS2 had were resolved with AS3. It's really just a pleasure to work with a lot of the time, and since I wanted a fun little project to do, I decided to forget about futureproofing the code for a bit and I just wanted to have fun making something.

So, I made OrbitalMechanics: a planetary physics simulator written in Actionscript 3. Click to start adding new masses (first click sets position, second sets mass, third sets velocity.)

Basically, it is an application of various parts of the Grade 12 physics curriculum. Gravitational force is calculated using the formula F = (G * m_1 * m_2)/(d^2), where G is the arbitrary number 100, masses are in arbitrrary units where mass = 1 is comparable to a small asteroid, and distance is measured in Flash units. When two bodies collide (when the distance between them is less than the sum of their radii), they are replaced with a single body with their combined mass. The resulting body’s velocity is found assuming it is a perfectly inelastic collision using the formula m_1 * v_1 + m_2 * v_2 = (m_1 + m_2) * v’.

I decided to make this in FlashDevelop, an open-source Flash/Flex IDE. Flash Professional feels to me to be a little weird to work with, having become used to IDEs for other platforms, so I wanted to use something a little more similar to a traditional development environment. I could have used Adobe's Flash Builder, but I decided to try the free an open-source alternative, and I actually quite like it. Once I got it up and running, I actually had no complaints with it. It has all the useful code writing features that Flash Pro does, plus some, while also being more reliable (have you ever found that code completion in Flash just stops happening for seemingly random intervals? Doesn't happen in FlashDevelop.) 

I didn't fully escape Flash Pro, though. I opened up Flash at the beginning and created the little menu you see in the bottom left of the screen and added it to the library. Once that was done, I exported a SWC from Flash and added that to FlashDevelop's library and I was good to go. Basically, I was fully satisfied with my FlashDevelop experience and if you like using editors more similar in style to Visual Studio or Code::Blocks or Brackets or something like that, FlashDevelop is free and a great option.

So that's that. Hopefully it's kind of fun to play with. You can find the source on GitHub if you feel like taking a look at it.


As far as other updates go, I'm still not planning on doing any more animations for a bit. I've got all my university applications in and I'm waiting to hear back from a few still, but that's basically settled. Right now I'm just trying to get through school and deal with other personal problems and hope the depression medication kicks in a bit eventually. Everything will probably be ok soon enough though.



Recent Game Medals

FUL of P 10 Points hhhmmmmm. Medal Stats.
Knowledge Peeker 5 Points Visit the codex for the first time. Medal Stats.
NG Fan 25 Points Correctly match 20 NG faces from 2012. Medal Stats.
NG Visitor 5 Points Correctly match 5 NG faces from 2012. Medal Stats.
Gotta Get Going 5 Points Pick up your Keys Medal Stats.
Umad? 5 Points Found the hidden troll face. Medal Stats.
Junior Artist 5 Points Finished your first drawing. Medal Stats.
SECRET MEDAL 5 Points Unlock this medal to see it's details. Medal Stats.
This is a TEST! 5 Points Test PICO RADIO Medal Stats.
Extra! Extra! 10 Points Check out any of the external links Medal Stats.

Total Medals Earned: 70 (From 33 different games.)

Latest Shared Creations

Mr. Grumps Added to pumpkins for Carve n' Share Oct 26, 2010. Load Level