Show HN: Free and open-source home for art made with code
shadergif.com
shadergif.com
- Ruby on Rails
- Vue
- CodeMirror
- gif.js
- avconv (FFMPEG) for video previews
- A $5/Month Linode server
The server handled being top 3 on HN with about 20 reqs/second with less than 15% CPU load.
The editor uses an architecture that allows me to quickly add a new language. Just create a class & reference it.
EDIT: Forgot to mention important parts:
- Bulma CSS
- feather SVG icons (https://feathericons.com/)
- zip.js
- A cleaner / extensive code editor (that also supports JS, woop!)
- Conversion of shader output to GIFs... Even on a laptop with a dedicated GPU, Shadertoy pulls the rug from underneath my system resources
I would like to see a grid-view (unless this already exists and I missed it) of the feed, as I don't think scrolling through a feed of linear, huge one-by-one posts is good for discovery.
Just a question since you're here: I've poked around with WebGL / GLSL in the past and have started to get into Metal (mainly out of necessity for macOS development) — is there scope for Metal to be ported / rendered on the web, and if so would you be interested in adding that as a language?
As soon as some browsers support an implementation, I'll try it. (However, it will be difficult if it's Safari only, since I use Linux)
Agreed on the boxing-in of Safari :)
It ended up being kind of a shared creation/remix experience which was really cool. I figure adding live simultaneous edits is a fairly difficult ask but it's immediately what I looked for when I saw your page.
Regardless, looks really cool!
I will make it one of my priorities for the next months (Studying still being priority number 1, of course).
In the meantime, it is still possible to create 2D toy fluid sim: https://shadergif.com/search?search=fluid
10/10 would add to my daily RSS feeds!