gpujs / gpu.js

GPU Accelerated JavaScript
https://gpu.rocks
MIT License
15.04k stars 646 forks source link

WebGL Texture Logger #240

Open robertleeplummerjr opened 6 years ago

robertleeplummerjr commented 6 years ago

If we had a means of displaying a texture's value (say if the value is of size[1]) we could render that single value to a canvas. This would make it so that we don't have to call readpixels, even for minute values.

robertleeplummerjr commented 6 years ago

A similar sort of concept: https://github.com/makepad/makepad.github.io

robertleeplummerjr commented 6 years ago

Closer: https://www.shadertoy.com/view/4sf3RN

robertleeplummerjr commented 6 years ago

Simpler: https://www.shadertoy.com/view/4lXSR4

robertleeplummerjr commented 6 years ago

Would be really cool: https://www.shadertoy.com/view/MlsXRN

robertleeplummerjr commented 6 years ago

Digits: https://www.shadertoy.com/view/ldsyz4

robertleeplummerjr commented 6 years ago

Commodore64 styled: https://www.shadertoy.com/view/Xs3XW4

robertleeplummerjr commented 6 years ago

Float printed: https://www.shadertoy.com/view/4tl3D2

robertleeplummerjr commented 6 years ago

Alternate text: https://www.shadertoy.com/view/ldfcDr

robertleeplummerjr commented 6 years ago

Resolution printer: https://www.shadertoy.com/view/XlfyRS

robertleeplummerjr commented 6 years ago

Linegraph: https://www.shadertoy.com/view/ldjXDD

robertleeplummerjr commented 5 years ago

Another: https://www.shadertoy.com/view/llSGRm