Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by oofoe

18 hours ago

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.
  ;; @ # & % * = + : - · 
  ;; @ # & % * = + : - ·

0 comments

oofoe

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities