Bryan Helmig

Co-founder of Zapier, speaker, musician and builder of things.

So I’m doing homework, and this center of gravity thing is pretty cool. In Location Strategy they use it to find the best location for stores and such on an X-Y plane with points that have certain weights or populations. “Well that’s neat,” I thought to myself. “I’ll make a little calculator using AJAX and PHP.” Because I really have nothing better to do.

It’s a pretty simple center of gravity calculator, just put in the weights first, seperated by comma’s, then the X coordinates and finally the Y coordinates. You should have the same number of each, if not, well, it’s just wrong. You should get two numbers back, these are the (X,Y) coordinates of the perfect center of gravity.

Enjoy my fancy “Center of Gravity Calculator” that I wasted 25 minutes minutes creating.

Posted March 31, 2009 @ 7:11 pm under Help.

I came across this little guy today while I was trying to track down a pesky audio driver for Windows XP. It seems to contain the entire driver profile for the Vostro 1400 so you no longer have to search for each of them individually. Nothing like being punished for not wanting Vista. By the […]


Posted February 26, 2009 @ 9:55 am under Help.