Live data from Hacker News

Show HN: Free and open-source home for art made with code

shadergif.com

11–20 of 32 posts

Re: Show HN: Free and open-source home for art made with code

#11
post #4

Earlier quoted context omitted.

No worries :) — Great to hear. 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?

There seems to be a fight between browser vendors for the next generation of 3D web standards - ( https://news.ycombinator.com/item?id=16186043 ) 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)

there's no fight. all the major players are working out the details. the last major detail is what format the shader language will be. Google and Mozilla are currently pushing for a subset of SPIR/V, Microsoft and Apple are pushing for a subset of HLSL. Both seem to have their merits

Re: Show HN: Free and open-source home for art made with code

#12
For some info about the tech stack, I use:

- 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

Re: Show HN: Free and open-source home for art made with code

#14

Earlier quoted context omitted.

There seems to be a fight between browser vendors for the next generation of 3D web standards - ( https://news.ycombinator.com/item?id=16186043 ) 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)

there's no fight. all the major players are working out the details. the last major detail is what format the shader language will be. Google and Mozilla are currently pushing for a subset of SPIR/V, Microsoft and Apple are pushing for a subset of HLSL. Both seem to have their merits

I don't think Microsoft has stated a position on this yet. It has mostly just been Apple pushing for WebHLSL as the shader ingestion format, with most everyone else in favor of SPIR-V with a restricted execution environment.

Re: Show HN: Free and open-source home for art made with code

#15

For some info about the tech stack, I use: - 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…

Impressive 20 req a second with just 15% cpu!

Re: Show HN: Free and open-source home for art made with code

#16
post #9

Earlier quoted context omitted.

Yeah, it's terrible how things like Google analytics, web fonts, can slow things down. I tried to keep this app as light as possible. Of course, I will not get a lot of data for analysis, but as a user, I know what can be improved, I don't need to monitor every click, typed keys, mouse moves, ...

google analytics is the only 3rd party script I am okay with. Maybe you should add it sometime in the future to get a rough idea about your users, I was talking mainly about the more intrusive analytics and ads scripts that plagued the web. It's rare to see anybody who respect his users to that extent these days :D respect again!

GA is also cached for most users, so the downloading part is non-existent.

Re: Show HN: Free and open-source home for art made with code

#17
post #9

Earlier quoted context omitted.

google analytics is the only 3rd party script I am okay with. Maybe you should add it sometime in the future to get a rough idea about your users, I was talking mainly about the more intrusive analytics and ads scripts that plagued the web. It's rare to see anybody who respect his users to that extent these days :D respect again!

GA is also cached for most users, so the downloading part is non-existent.

But there is overhead at every tracked event because you have an extra request to Google.

Re: Show HN: Free and open-source home for art made with code

#19
post #9

Earlier quoted context omitted.

Yeah, it's terrible how things like Google analytics, web fonts, can slow things down. I tried to keep this app as light as possible. Of course, I will not get a lot of data for analysis, but as a user, I know what can be improved, I don't need to monitor every click, typed keys, mouse moves, ...

google analytics is the only 3rd party script I am okay with. Maybe you should add it sometime in the future to get a rough idea about your users, I was talking mainly about the more intrusive analytics and ads scripts that plagued the web. It's rare to see anybody who respect his users to that extent these days :D respect again!

There's something to be said for having at least a small part of the Web hidden from the Google panopticon
Post reply on HN