← Back to context

Comment by greggman65

1 day ago

maybe there is more going on here but it's relatively easy to make a text post processing shader and apply it to anything, 3d scene, a video, etc...

https://post-processing.tresjs.org/guide/pmndrs/ascii

https://forum.babylonjs.com/t/ascii-shader-using-glsl-postpr...

https://threejs.org/examples/?q=ascii#webgl_effects_ascii

https://fwdapps.net/l/asci/

https://codesandbox.io/p/sandbox/ascii-postprocessing-n628p8...

https://www.youtube.com/watch?v=NxeRcnLr0ko

Or you could just start with ASCII... I was discussing how shaders work with a friend and wound up hacking together a sort of "shadertoy" that runs in Emacs last night. Scroll to end of file to see examples...

https://hg.sr.ht/~oofoe/shademacs/browse/sdf.el?rev=tip

  (shade 10 2 (lambda (x y) x))  ; Horizontal ramp.
  ;; @ # & % * = + : - · 
  ;; @ # & % * = + : - ·