Archive for the ‘jQuery’ Category

Save Previous HSBC Statements as CSV

Posted on: March 2nd, 2013 by admin 8 Comments

Annoying HSBC has no way to download previous statements as csv, any any other file type come to that. I’ve written a bookmarklet that allows you to download previous statements as a csv. At the moment only Chome supports naming a download using data: uri so it works best in Chrome. All the code is […]

How to plot trajectory based on inital angle and speed with jQuery and javascript

Posted on: November 3rd, 2012 by admin No Comments

I spent a long time looking for any information on this and anything I did find was too complicated for me to understand so hopefully this is a simple explanation. Fist we need to create an object to hold all our variables. 1 2 3 4 5 6 7 8 var ball = { x: […]

How to rotate a point around an origin with javascript

Posted on: November 3rd, 2012 by admin 1 Comment

Whilst this is quite simple I had trouble finding a easy to understand tutorial on this so put this up here for reference. Step 1 – Convert the angle you are rotating to from degrees to radians. To do this we just times the angle by PI and divide by 180. 1 angle = angle […]