This is my
Blog.

oCanvas
Event Model

Published

In the first release of oCanvas, I was very proud of the event system. It made objects inside of a canvas interactive, something that wasn’t possible to do very easily before. It offered event support for objects, no matter what the rotation was, and not just within the bounding rectangle but the shape itself.

When developing this I didn’t think very deep about how the system would work. I was very focused on making events trigger within different shapes. I didn’t think much about what would happen if objects overlap each other, or about child objects. It was not until January this year, when I had a bug[…]
Read the rest →

Releasing
oCanvas 2.0.0

Published

In my last post I wrote about the history of oCanvas up until today. Today I release the next major version of oCanvas, named 2.0.0!

It’s been almost a year since the initial release, and I feel bad about not releasing any updates officially until now. Hopefully there will be more regular updates in the future. Over the past year I’ve been working on oCanvas a lot, but I have never gotten around to make an official release of it, just pushing it to GitHub.

The story of
oCanvas

Published

Last year in March I released my first big project—oCanvas. It is a JavaScript library that makes it easier to create things with HTML5 Canvas, by changing the mindset of how to work with the canvas. The native canvas API is completely oriented around pixels and drawing, which is really awesome. It opens up so many possibilities. When creating certain things though, thinking about drawing things instead of creating objects can be tough. That’s why I decided to create oCanvas.

Thoughts on
Mac OS X Lion

Published

I haven’t been a Mac fan for that long. I’ve mostly used Windows on my workstation, and I have also used Linux some but mostly for server usage. In July 2009 I got my first Mac, a MacBook Pro 15″. Since then, I’ve never looked back. Everything has just worked so much better and the user experience is awesome.

I had an iPod before, then I got my first iPhone in December 2009 and an iPad 2 in July 2011. I just love everything Apple does. But it’s not that I just buy everything Apple creates no matter what it is—I buy it because it’s awesome and gives me a great experience.

That is until Mac OS 10.7 (Lion) came out. I had seen some reviews about it before I installed the update, but I was curious to see it for myself. In this post I will share some of my thoughts about the update.

Grafisk design &
Webbutveckling på JTH

Published

This post will be in Swedish because it is targeted for a Swedish audience.

Jag tänkte skriva om den utbildning jag har gått de senaste två åren. Den 1 juni 2011 tog jag högskoleexamen från Grafisk design och Webbutveckling på Tekniska Högskolan i Jönköping. Innan jag började utbildningen hade jag gått Teknikprogrammet på Teknikum i Växjö. Jag har under hela min uppväxt varit tekniskt intresserad, men även det grafiska har fångat mitt intresse och mina val har varit delade mellan design och webbprogrammering. För gymnasiet valde jag dock en teknisk linje med inriktning på IT, men valde även till två fotokurser för att få in lite estetik i det hela. När det var dags för vidareutbildning på högskola var jag fortfarande osäker på vad jag ville jobba med, och valde därför en utbildning som innehöll både design och programmering.

Making of
DrawPad

Published

If you haven’t tested DrawPad yet, you can try it here.

DrawPad started as an examination assignment in the course Mobile Applications during my education Graphical Design and Web Development. It was actually two assignments; one mobile web site and one native Android app. Since web is closer to my interests than native application development, I chose to put a lot more energy into the mobile web site. The requirements for approval were basically to use the viewport meta tag, use a few different HTML tags and CSS declarations, handle a touch event and animate something as a respond to the touch, and finally, store something using local storage. To get a higher grade there were also requirements to use an AJAX call to fetch new content and to use all three touch events (touchstart, touchmove and touchend).