Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: WebGL-powered oscilloscope emulator (m1el.github.io)
42 points by m1el on Sept 4, 2015 | hide | past | favorite | 16 comments


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!


You're very welcome.


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 :)


I am planning to do a writeup on the core algorithm myself.

But in a few words: linear algebra and integrals.

*Edit


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.


I like it, but I would prefer a plain oscilloscope function, and being able to connect it to a Web Audio source of mine.


Maybe I'll try doing that this weekend.


SyntaxError: Unexpected use of reserved word 'let' in strict mode


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).


It should work in Firefox, there is a workaround specifically for that.


It does work for me on FF, although it prints an error to console before the workaround kicks in.


Uncaught TypeError: Cannot read property 'clearColor' of null


You don't have webgl, duh.


I'm not sure "duh" is the right response here.


It says I don't have webgl, but chrome://gpu says "WebGL: Hardware accelerated". Not the first time I've run into this.


khrậng. amazing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: