Hacker News new | ask | show | jobs
by hypermachine 1891 days ago
How do you deal with features that cannot be modeled as pure functions or are too computationally heavy to rerender on change? For example, user selections, copy and paste, ray tracing.

Also I recommend using the Rete.js library for the underlying nodes editor instead of rolling your own.

1 comments

I was hoping to use computer vision for things that a user might do by hand, e.g. removing the background/foreground. I'm focusing on 2D image processing so most functions are pretty performant if you use WebGL, even for large images.

Thanks for the Rete.js recommendation, I'll give it a try!