Arkiv för november, 2009



Elin

Skrivet måndag 23 november 2009 under ämnet Artopod, Webbteknik
Kommentera »

Canvas: be there, or be…squircle (huh?)

images demoI have played around with Canvas lately and made a simple test with a squircle-like form using bezier curves. Huh, squ…what? Yeah, I didn’t know either, but it’s a form of superellipse and a combination of a square and a circle – read all about it at Wikipedia.

I’ve made two demos in the same spirit, an example how to make any image into a superellipse form with canvas and a simple drag & drop your squircle demo. Internet Explorer still doesn’t support Canvas, but there are workarounds as you can see in the second demo.

So…is the Canvas technology something to care about at all? Read my article on Canvas.

Here’s a simplified copy/paste code for testing with the supposed result to the right:

<canvas id="mycanvas" width="100" height="100"></canvas>
<script type="text/javascript">squircle test

function squircle(ctx,x,y,size){
  var hsize=size/2; // half size
  x-=hsize; // reposition in the middle
  y-=hsize;
  ctx.save();
  ctx.translate(x,y);
  ctx.beginPath();
  ctx.moveTo(hsize,0);
  ctx.bezierCurveTo(0,0,0,0,0,hsize);
  ctx.bezierCurveTo(0,size,0,size,hsize,size);
  ctx.bezierCurveTo(size,size,size,size,size,hsize);
  ctx.bezierCurveTo(size,0,size,0,hsize,0);
  ctx.closePath();
  ctx.restore();
 }
 var canvas=document.getElementById("mycanvas");
 var ctx=canvas.getContext("2d");

 squircle(ctx,50,50,100);
 ctx.fillStyle = "black";
 ctx.fill(); // fill it up!

 </script>


Jonas

Skrivet fredag 13 november 2009 under ämnet Artopod
Kommentera »

Digital matters. A lot.

The american agency Razorfish published their FEED report this week, focusing on how digital is changing the way that consumers interact with brands. And the statistics are pretty amazing, here’s one example:

65% of consumers report having had a digital experience that either positively or negatively changed their opinion about a brand. Of that group, a nearly unanimous 97% say that their digital experience influenced whether or not they eventually purchased a product or service from that brand.

These are  pretty impressive numbers, and shows that the transformation towards digital goes faster than maybe even us in the digital communication industry had predicted. If you’re in any way involved in marketing at your company or organization, check out the FEED report!



Jonas

Skrivet tisdag 3 november 2009 under ämnet UX
Kommentera »

Behaviour, not technology

Quite often, we get questions about “the new technology X” or “the new service Y”. For us, it’s of course important to know about these things, but it’s even more important to understand that technology itself will not change anything. It’s not until we change our behaviour that change happens.

Using new technology alone will not create success – we also have to understand how and why.