5 ms·
On HN a few days ago, I saw a Windows program which seemed like it would do as you describe (and much more.) But - curses - I didn't bookmark it, at least not
by maxwelljoslyn 6y ago
On HN a few days ago, I saw a Windows program which seemed like it would do as you describe (and much more.)
But - curses - I didn't bookmark it, at least not in the normal place. I'll look a little harder for you. If I don't update/follow up on this comment, assume I didn't find it. :(
EDIT: Aha. It's called "EvalDraw." Cheers to user 'TeMPOral for sharing.
https://news.ycombinator.com/item?id=25575775 https://news.ycombinator.com/item?id=25575775
- TeMPOraL 6y agoYup, I usually used EvalDraw in (x,y) mode to graph inequalities. You have to remember though that equations like x=y or x-y = 0 represent a line - an infinitely thin object - so EvalDraw will likely not draw you anything given such input. You have to translate your equation into something that has thickness. E.g. an f(x) = 0 into abs(f(x)) < 0.01 For instance, GP's example: (x,y) abs(sin((1+sin(x+y))asin(.5(sin(x)+sin(y)))+(1+sin(x-y))asin(.5(cos(x)+cos(y)))))<0.01 Draws a beautiful red chain-link fence on blue background. If you can rewrite your formula to give you a value between 0 and 1, you'll get a nice color gradient. And then you can have more direct control over colors using some of the things I described in the linked comment.