News for hackers. Stuff that matters.
Re:Show HN: WebGL-powered oscilloscope emulator by hughes on Friday September 04, 2015 @09:57AM (#10170417)
That was one of the highest-fidelity visual experiences I've had on the web. I know there's no more information being displayed than what's in the audio channel, but I feel like this sort of experience just wouldn't translate well to any current video encoding, even at enormous file sizes.

Thanks for building this and for sharing!

Re:Show HN: WebGL-powered oscilloscope emulator by m1el on Friday September 04, 2015 @10:53AM (#10170852)
You're very welcome.
Re:Show HN: WebGL-powered oscilloscope emulator by virgil_disgr4ce on Friday September 04, 2015 @09:40AM (#10170280)
Nice, I assume this is XY-mode by stereo channel. I did a little writeup here: http://cookingwithsound.com/an-xy-mode-oscilloscope-in-your-...

If you want to get in touch, I'd love to add more detail about how the code works :)

Re:Show HN: WebGL-powered oscilloscope emulator by m1el on Friday September 04, 2015 @10:29AM (#10170674)
I am planning to do a writeup on the core algorithm myself.

But in a few words: linear algebra and integrals.

*Edit

Re:Show HN: WebGL-powered oscilloscope emulator by phkahler on Friday September 04, 2015 @10:49AM (#10170814)
That could be an awesome previewer for .ild files (Laser Show stuff). The OpenLase and VectorBoy projects might like to hear from you.

It would may also be really nice for rendering the old vector games in MAME - I have a Cinematronics emulator that can run about 13 vector games too, mostly black and white.

Re:Show HN: WebGL-powered oscilloscope emulator by jkleiser on Friday September 04, 2015 @06:45AM (#10169655)
I like it, but I would prefer a plain oscilloscope function, and being able to connect it to a Web Audio source of mine.
Re:Show HN: WebGL-powered oscilloscope emulator by m1el on Friday September 04, 2015 @07:03AM (#10169690)
Maybe I'll try doing that this weekend.
Re:Show HN: WebGL-powered oscilloscope emulator by supercoder on Friday September 04, 2015 @07:41AM (#10169790)
SyntaxError: Unexpected use of reserved word 'let' in strict mode
Re:Show HN: WebGL-powered oscilloscope emulator by Udo on Friday September 04, 2015 @08:02AM (#10169854)
Are you on Firefox by chance? I discovered this week that Firefox doesn't do ES6 on included <script> files unless you specify an explicit content type enabling it (which in turn breaks things on all other browsers).
Re:Show HN: WebGL-powered oscilloscope emulator by m1el on Friday September 04, 2015 @08:11AM (#10169883)
It should work in Firefox, there is a workaround specifically for that.
Re:Show HN: WebGL-powered oscilloscope emulator by Udo on Friday September 04, 2015 @08:13AM (#10169891)
It does work for me on FF, although it prints an error to console before the workaround kicks in.
Re:Show HN: WebGL-powered oscilloscope emulator by kepakko on Friday September 04, 2015 @07:07AM (#10169700)
Uncaught TypeError: Cannot read property 'clearColor' of null
Re:Show HN: WebGL-powered oscilloscope emulator by m1el on Friday September 04, 2015 @07:08AM (#10169706)
You don't have webgl, duh.
Re:Show HN: WebGL-powered oscilloscope emulator by Udo on Friday September 04, 2015 @08:03AM (#10169855)
I'm not sure "duh" is the right response here.
Re:Show HN: WebGL-powered oscilloscope emulator by thrownaway2424 on Friday September 04, 2015 @11:23AM (#10171029)
It says I don't have webgl, but chrome://gpu says "WebGL: Hardware accelerated". Not the first time I've run into this.
Re:Show HN: WebGL-powered oscilloscope emulator by leetbulb on Friday September 04, 2015 @10:47AM (#10170795)
khrậng. amazing.