Softcore software development
It's all about the cycles
  • Home
  • About

Archive for April, 2008

SVG experiments

Web No Comments »

While someone else has javascript and canvas covered, I wanted to learn some new things about SVG. While perhaps best known for the tiger and other graphic goodness, I am not a graphics artist. So these didn’t apply to me so much. However, you can do some neat things with images in SVG that are harder/impossible to do in CSS, such as rotating images and skewing them.

So I started doing some things with SVG. One of those being something to catalog all the albums I have started amassing (I only have 460MB left of my 2GB iPod). Yes, I still do pay for music. I’m old skool like that.
You need an SVG viewer to view this image. May I recommend a plugin or a SVG enabled browser?
Not much. But it took me so long to get rotation working, mainly because of lack of good sample documentation. Though I came across some good docs, it just wasn’t enough. For example, here is the code to rorate:

rotate(angle, cx, cy)

Where angle is how much you want to rotate it by, in degrees.
cx and cy are the “offset of the current view box. If cx and cy are not present then the points are rotated around the origin” (Bystedt). Both cx and cy are optional.

Maybe an example of rotation would clarify cx and cy. Here is the first image being rotated 45° without skewing at point 0,0.
Man, another SVG image. Your really missing out
To rotate an image at the centre, cx and cy should be the distance to the centre of the image. Both on the x-axis and y-axis respectively. Imagine to my horror when the image was 50% from the left, and a 45° rotate threw it down half way across the screen. I won’t bore you with the details of how changing cx and cy confused me even more, but some samples would have helped!


April 27th, 2008 |

Tags: seneca, svg




</school>

personal No Comments »

Gradutation 2008


April 27th, 2008 |

Tags: personal, seneca




Vacations are stressful

personal No Comments »

So I have been on vacation for less than a week and I’m already disappointed with myself.

Firstly, I haven’t been keeping up with my AMO responsibilities. I really need to do this, but I find myself being distracted every few hours.

Secondly, I haven’t gotten anywhere near as much work done with Prism as I wanted. I want to fix three bugs, two of which I already assigned to me :

  1. Adding Preferences as an extension
  2. Installing a webapp should automatically fill in the name with the title of the website if not already present
  3. Lastly, I want the extension to search for .js files in the .webapp file and load a security warning, as webapp.js files have chrome level privileges

And there is more stuff obviously. This website. Shopping for summer clothes. Getting paperwork out of the way. Hanging out with friends.

Damn you Playstation and Wintendo!


April 24th, 2008 |

Tags: editor, lazy, prism, seneca




Taking it in strides

personal No Comments »

So while I await the final marks for my courses, it has finally given me some time to relax without having something in the back of my mind bothering me. I got the playstation back in my room and played a few games of Warcraft on my Wintendo box. Unfortunately, I have got a bit ill during exam week with a sore throat and fever. It seems to have picked up after exams (of course) accompanied with coughing.

I finally set up my website. I plan to put up a bunch of stuff here, but wordpress would have to do for now.

There is still plenty of stuff that has to be done for the next few weeks. The only thing that’s going to keep this blog working is if I keep busy.


April 20th, 2008 |

Tags: personal




  • Categories

    • addons
    • hugs
    • Living
    • personal
    • programming
    • Uncategorized
    • Web
  • Recent Posts

    • Reordering the tab key – tabcomplete
    • (Almost) Can’t touch that new music
    • Endianness, how I loathe you
    • Update
    • AES and CBC
  • Tags

    "open source" activism audio browser compatibility bug chrome editor extension fennec google chrome house html5 hugs ie intern jquery json konqueror lazy microblog microsoft mozilla music nsid opera personal prism python regina ria safari safe security seneca shaving shoes sleep stats svg tinderbox tip toronto Web wildon windows error
  • Archives

    • July 2010
    • May 2010
    • February 2010
    • December 2009
    • November 2009
    • October 2009
    • August 2009
    • July 2009
    • February 2009
    • January 2009
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
RSS XHTML CSS Log in
Copyright © 2010 Softcore software development All Rights Reserved
Wp Theme by i Software Reviews
Proudly Powered by Wordpress