HNHacker News
TopNewBestAskShowJobs

magichacker

64 karma · joined October 1, 2010

submissionscomments
magichacker··on Transform any image into a magic coloring pic (jquery, canvas,...)
the evolution of http://news.ycombinator.com/item?id=1880364
magichacker··on Black/white pics 2 color painter (done with jquery/canvas)
yeah, it's an iteration of http://news.ycombinator.com/item?id=1880364 with another pic algo and the FF performance fixed (which lead to a completely rewrite of the image editing logic...) (+ cooler images) - maybe you like it.
magichacker··on "Magic" color pics for kids done with canvas + jquery
after a long hard fight i made it faster (overall but especially in FF) .... the CanvasPixelArray Object (which is not an Array in Webkit ....) is a real bastard.
magichacker··on "Magic" color pics for kids done with canvas + jquery
i commented out a console.log(touch.pageX); and now the performance in FF seems to be much more smoother? can it be? it did not even get executed? strange.
magichacker··on "Magic" color pics for kids done with canvas + jquery
hi, i started of here http://developer.apple.com/safaridemos/CanvasPixelManipulati... (look into the sourecode) but tuned the internal edge detection parameters to work better with children book covers. said that, i came across a lot of ... potential within these algorithms to make them way cooler. will probably work on them during another rainy weekend.
magichacker··on "Magic" color pics for kids done with canvas + jquery
hi, u r right - not really performant in FF, developed/tested it on chrome, safari and iPad safari (which my kids love, it's mostly coded for them) so far .. will look into FF and make some performance enhancements.
magichacker··on "Magic" color pics for kids done with canvas + jquery
hi, thx for inputs. first i will look into > portions of the canvases that have been changed to make it faster for FF
magichacker··on "Magic" color pics for kids done with canvas + jquery
hey, it's a "magic" pic. ok, u r right, it's a bug, will fix.
magichacker··on "Magic" color pics for kids done with canvas + jquery
ok, basically it takes an image, converts it to a canvas, saves that canvas data, detects the edges of the image in the canvas, outlines the edges in black-and-white, saves that black-and-white canvas data, too, adds an event handler that onmousemove (iPad: ontouchmove) substitutes a circular region of the "outlined edges canvas data" with the "original image" canvas data - puuhh - that's all. hope you like it.