Skip to content

Instantly share code, notes, and snippets.

@talltyler
Last active December 16, 2015 00:19

Revisions

  1. talltyler revised this gist Apr 9, 2013. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -6,14 +6,14 @@
    -TextMetrics needs height : [https://gist.github.com/talltyler/5345959]

    ###Filters
    -Shadows have been broken in Chrome since version 15 (https://code.google.com/p/chromium/issues/detail?id=100703)
    -Shadows have been broken in Chrome since version 15 https://code.google.com/p/chromium/issues/detail?id=100703 https://github.com/mozilla/shumway/blob/master/src/swf/filters/filter.js#L245

    -Inner shadows are missing so you have to do all of this to reproduce it http://jsfiddle.net/cabanier/eav5V/
    -Inner shadows are complicated to reproduce http://jsfiddle.net/cabanier/eav5V/ http://old.nabble.com/-canvas--inner-shadows-td33754016.html

    ###Bitmaps
    -For loops over every pixel are slow in many cases so most types of raw pixel modifications like replacements for the missing filters can't be used. These are the best that I have : found https://github.com/mozilla/shumway/blob/master/src/swf/filters/filter.js http://peternitsch.net/bitmapdata.js/colorMatrixFilter.html

    -Pixel shaders or a way to run fast matrix math would speed up many things, you can do some of this in webgl but IE wont support it http://evanw.github.io/glfx.js/demo/
    -Pixel shaders or a way to run fast matrix math would speed up many things, you can do some of this in webgl but IE wont support it there is a few interesting projects using it though http://evanw.github.io/glfx.js/demo/

    -Hit tests, without this every game engine has created a custom one, this has been proposed but not implemented. http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#hit-regions

  2. talltyler revised this gist Apr 9, 2013. 1 changed file with 14 additions and 12 deletions.
    26 changes: 14 additions & 12 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,20 +1,22 @@
    Text
    Kerning/Letter Spacing is missing : [https://gist.github.com/talltyler/5345894]
    #Things that Canvas Element is missing

    TextMetrics needs height : [https://gist.github.com/talltyler/5345959]
    ###Text
    -Kerning/Letter Spacing is missing : [https://gist.github.com/talltyler/5345894]

    -TextMetrics needs height : [https://gist.github.com/talltyler/5345959]

    Filters
    Shadows have been broken in Chrome since version 15 (https://code.google.com/p/chromium/issues/detail?id=100703)
    ###Filters
    -Shadows have been broken in Chrome since version 15 (https://code.google.com/p/chromium/issues/detail?id=100703)

    Inner shadows are missing so you have to do all of this to reproduce it http://jsfiddle.net/cabanier/eav5V/
    -Inner shadows are missing so you have to do all of this to reproduce it http://jsfiddle.net/cabanier/eav5V/

    Bitmaps
    For loops over every pixel are slow in many cases so most types of raw pixel modifications like replacements for the missing filters can't be used. These are the best that I have : found https://github.com/mozilla/shumway/blob/master/src/swf/filters/filter.js http://peternitsch.net/bitmapdata.js/colorMatrixFilter.html
    ###Bitmaps
    -For loops over every pixel are slow in many cases so most types of raw pixel modifications like replacements for the missing filters can't be used. These are the best that I have : found https://github.com/mozilla/shumway/blob/master/src/swf/filters/filter.js http://peternitsch.net/bitmapdata.js/colorMatrixFilter.html

    Pixel shaders or a way to run fast matrix math would speed up many things, you can do some of this in webgl but IE wont support it http://evanw.github.io/glfx.js/demo/
    -Pixel shaders or a way to run fast matrix math would speed up many things, you can do some of this in webgl but IE wont support it http://evanw.github.io/glfx.js/demo/

    Hit tests, without this every game engine has created a custom one, this has been proposed but not implemented. http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#hit-regions
    -Hit tests, without this every game engine has created a custom one, this has been proposed but not implemented. http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#hit-regions

    General things that might help adoption
    Scene graph with events and hit detection http://www.createjs.com https://code.google.com/p/cakejs/
    ###General things that might help adoption
    -Scene graph with events and hit detection http://www.createjs.com https://code.google.com/p/cakejs/

  3. talltyler renamed this gist Apr 9, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. talltyler revised this gist Apr 9, 2013. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    Text
    Kerning/Letter Spacing is missing : (https://gist.github.com/talltyler/5345894)
    Kerning/Letter Spacing is missing : [https://gist.github.com/talltyler/5345894]

    TextMetrics needs height : (https://gist.github.com/talltyler/5345959)
    TextMetrics needs height : [https://gist.github.com/talltyler/5345959]

    Filters
    Shadows have been broken in Chrome since version 15 (https://code.google.com/p/chromium/issues/detail?id=100703)
  5. talltyler revised this gist Apr 9, 2013. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,10 @@
    Text
    Kerning/Letter Spacing is missing : https://gist.github.com/talltyler/5345894
    Kerning/Letter Spacing is missing : (https://gist.github.com/talltyler/5345894)

    TextMetrics needs height : https://gist.github.com/talltyler/5345959
    TextMetrics needs height : (https://gist.github.com/talltyler/5345959)

    Filters
    Shadows have been broken in Chrome since version 15 https://code.google.com/p/chromium/issues/detail?id=100703
    Shadows have been broken in Chrome since version 15 (https://code.google.com/p/chromium/issues/detail?id=100703)

    Inner shadows are missing so you have to do all of this to reproduce it http://jsfiddle.net/cabanier/eav5V/

  6. talltyler created this gist Apr 9, 2013.
    20 changes: 20 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    Text
    Kerning/Letter Spacing is missing : https://gist.github.com/talltyler/5345894

    TextMetrics needs height : https://gist.github.com/talltyler/5345959

    Filters
    Shadows have been broken in Chrome since version 15 https://code.google.com/p/chromium/issues/detail?id=100703

    Inner shadows are missing so you have to do all of this to reproduce it http://jsfiddle.net/cabanier/eav5V/

    Bitmaps
    For loops over every pixel are slow in many cases so most types of raw pixel modifications like replacements for the missing filters can't be used. These are the best that I have : found https://github.com/mozilla/shumway/blob/master/src/swf/filters/filter.js http://peternitsch.net/bitmapdata.js/colorMatrixFilter.html

    Pixel shaders or a way to run fast matrix math would speed up many things, you can do some of this in webgl but IE wont support it http://evanw.github.io/glfx.js/demo/

    Hit tests, without this every game engine has created a custom one, this has been proposed but not implemented. http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#hit-regions

    General things that might help adoption
    Scene graph with events and hit detection http://www.createjs.com https://code.google.com/p/cakejs/