Hacker News new | past | comments | ask | show | jobs | submit | thekenwheeler's comments login

it depends. canvas is typically much more cpu friendly. and does a way better job with text. (2d)


I remember way back when, when I first started on the web, I got paid to make Flash sites. It was a cringey time, but the capability and animation smoothness, on Windows XP, 8 years ago, was still better than you can get on the web on a Macbook Pro today.

When Jobs murdered flash I transitioned to web waiting for it to come up to parity, but it never did.

We've had incremental improvements, but IMO they have been scraps, and the priority is out of wack. Why are we adding MIDI to a platform that still can't efficiently do layout?

I recently gave a talk about building a new browser without the DOM, instead using native UI primitives driven by javascript for our sites: https://www.youtube.com/watch?v=WEQx3wz8QeY

Wherever we land, I just hope to someday get the kind of performance on the web that I got 8 years ago with Flash.


There are actually a ton of binding already defined here: https://github.com/BuckleTypes

Further, anything already typed with Flow or Typescript can be converted with this. https://github.com/rrdelaney/ReasonablyTyped

Beyond that, defining js types and interop with Reason/BS has probably been the most pleasant experience in a compile-to lang that I've used.



Does anything happen other than a black screen when you walk into a building? I get some music if I wait long enough, but otherwise nothing.


I had a black screen when I first walked into a building. After refreshing, they all started working after I entered the Physics building. They just show a slideshow, then send you back out into the street.


Is that playable on mobile? I don't seem to be able to "Press Start."


It's waiting for space or enter to be onkeydown-ed.


This lib uses term-img internally to print generated png imagery.


out of pure curiosity , what would you prefer it be written in?


Personally? Ruby, Go or Python.


holy mackerel, this lib is dope.


Its a work in progress. Right now the synths are single oscillators with no filter. When I get those composing with effects, it'll sound more like a real patch. Also, sample maps for the sampler with note input will make doing things like wav based piano lines a lot easier.


lol


Yeah, its severely limited compared to a DAW in almost every way. But its super fun to mess around with, and if you like React and the Web Audio API then its a cool example integration as well. My vision long term is that this will serve as a set of primitives that can be composed into instrument presets and have UI hooks so you can build something like a step sequencer UI or a drum machine.


Have you ever played Rez on the Dreamcast? I kept wondering if you could do procedurally generated music from monitoring inputs so that you could listen to your production system.

I mention this only because I've flailed and failed to even figure out where to start to do such a thing a few times, and what you're doing looks like sufficient fun that I'm actually tempted to try again. No promises I ever will or that I'll remember to tell you if I do, mind ;)

Or, tl;dr: "I don't care if it's powerful, it actually looks like fun and that's awesome".


i haven't but that sounds dope. you should give it a shot!


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

Search: