And how do i get my hands on one of those?
On 31 מרץ, 01:47, Hector Virgen djvir...@gmail.com wrote:
IMHO Canvas is still the best choice for pixel editing. Take a look at some
of Google's achievements with the canvas
tag:http://www.chromeexperiments.com/detail/javascript-canvas-raytracer/
Just as an aside, 1 million 'divs' would require 11 megabytes of
memory just to create them empty: 'div/div' x 10^6
On Mar 31, 5:09 am, Shedokan shedo...@yahoo.com wrote:
And how do i get my hands on one of those?
On 31 מרץ, 01:47, Hector Virgen djvir...@gmail.com wrote:
IMHO Canvas is
I don't know much about AS, but creating pixels as objects is likely
not the fastest approach. You should take advantage of vector drawing
tools and bitmaps. Take a look at this stuff:
http://www.flashvault.net/tutorial.asp?ID=52
http://www.bytearray.org/?p=67
Optimized DHTML drawing:
Sorry to be the bearer of bad news, but you're really not going to be able
to get acceptable performance with a million pixel divs manipulated in
JavaScript.
-Mike
From: Shedokan
thanks for all of your comments, I will try them all.
As for canvas, I can't really use it because I want to
IMHO Canvas is still the best choice for pixel editing. Take a look at some
of Google's achievements with the canvas tag:
http://www.chromeexperiments.com/detail/javascript-canvas-raytracer/
-Hector
On Sun, Mar 29, 2009 at 10:50 PM, Shedokan shedo...@yahoo.com wrote:
thanks for all of your
Use the Canvas facility instead? It's a drawing 'canvas,' after all.
On Mar 29, 10:11 am, Shedokan shedo...@yahoo.com wrote:
I am trying to create something like ms paint in jquery and I want it
to support 1000X1000 and that's a lot of pixels(one million to be
exact).
each pixel is a div
No normal browser/computer has enough power to deal with that many
elements without getting slow. The fastest way to do it would be
something like this (array join, append a single element, use
innerHTML directly):
var html = [], i = 0;
html[i++] = 'div id=container';
for(var ln = 500*500;i ln;
On Mar 30, 11:14 am, Ricardo ricardob...@gmail.com wrote:
No normal browser/computer has enough power to deal with that many
elements without getting slow. The fastest way to do it would be
something like this (array join, append a single element, use
innerHTML directly):
var html = [], i
thanks for all of your comments, I will try them all.
As for canvas, I can't really use it because I want to support pixel
editing and when resizing the canvas I'll need to re render it again
and again.
and as for flash, when I try to add that much pixels it gives me a
warning about stopping
9 matches
Mail list logo