Javascript stretch image according to a map? -
i'm trying figure out if possible stretch in image in javascript different parts of image expand more others. thinking along lines of black/white map black not stretch @ all, white stretches , shades of grey in between stretch proportionately. @ possible? i;m hoping make picture if losing or gaining weight.
thanks!
you use html5 canvas feature along java-script image manipulation.
altogh processor intensive, if want animation, can it.
some tutorial canvas element of html5 java-script, interested more on drawimage(image,x,y) method. http://www.w3schools.com/html/html5_canvas.asp
and references http://www.w3schools.com/tags/ref_canvas.asp
you draw parts want scaled, giving near non noticeable artifacts effects want difficult.
Comments
Post a Comment