Skip to content

Commit

Permalink
magicaCodec in ojos
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastián Gurín committed Sep 17, 2019
1 parent af44e06 commit 5e3d09c
Show file tree
Hide file tree
Showing 15 changed files with 55,113 additions and 12 deletions.
15 changes: 15 additions & 0 deletions apps/css-atajate-esta/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
node_modules
dist
.cache
docs
.DS_Store
*.tgz
.nyc_output
coverage
typescript-ast-query-editor/src/queryAst/tsLibraries
log2.txt
/package
.vscode
test-browser-outdir
playground
/tmp*
13 changes: 13 additions & 0 deletions apps/css-atajate-esta/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
* [Magica Canvas](https://cancerberosgx.github.io/demos/magica/canvas/) (WIP) - Renders transformations in canvas as fast as possible to show that for images width<1000px it's instantaneous. See transformations happen on mouse move, and on streaming video. [https://cancerberosgx.github.io/demos/magica/images/magica-canvas-demo.mp4](Demo video)

* Currently there is no web workers
* it would improve performance for video experience
* not sure if improves performance on the non-video experience...

How images are processed:

* The input image is transformed to miff (protected file - meaning is preserved between commands - it doesn't need to be written each time)
* output images are .rgba which can be used in ctx.setImageData / HTML new ImageData directly. (perhaps mpc could be better?)
* output images size is stored so there's no need to extra commands to get the sizes.


Loading

0 comments on commit 5e3d09c

Please sign in to comment.