Hi David,

Nice demo!

I notice you haven't taken the time to understand why your snowflakes do
not work in IE9.

To get your code working in IE9 you must use an HTML5 doc type. Such as:

<!DOCTYPE html>

See:
http://blogs.msdn.com/b/ie/archive/2010/09/08/debugging-common-canvas-issues.aspx

-Kip


On Thu, 2010-12-09 at 12:52 -0800, David Flanagan wrote:

> I've posted some example code from my upcoming book Canvas Pocket 
> Reference at my blog: http://www.davidflanagan.com/2010/12/let-it-snow.html
> 
> It demonstrates how to draw Koch snowflake fractals in a <canvas> tag, 
> and relies almost completely on canvas transformation methods: 
> translate(), scale(), and rotate().
> 
> If you're interested in scripted client-side graphics, you might find 
> this interesting.  Plus there is a fun bookmarklet to try out (but it 
> includes commercial promotion for my book... :-)
> 
>       David Flanagan


_______________________________________________
JSMentors mailing list
[email protected]
http://jsmentors.com/mailman/listinfo/jsmentors_jsmentors.com

List Archive:
http://jsmentors.com/pipermail/jsmentors_jsmentors.com/

Reply via email to