Graphtoy
graphtoy.com
graphtoy.com
https://reddit.com/r/desmos/comments/gccqty/a_b%C3%A9zier_ni...
But obviously this is on a whole other level of knowledge and complexity.
Plus, C could be compiled into WASM with emscripten, and be hooked to render on a Canvas or WebGL or something.
On Shadertoy, they use WebGL to create a little rendering pipeline that in the simplest configuration renders two triangles to form a rectangle, using your GLSL code. Since it's WebGL (should be supported by all modern browsers, mobile included), that code is executed directly on your GPU.
In more complex Shadertoy scenarios, you can do multiple passes where you render to different buffers and then use those buffers as textures in other passes. One of the uses of that is keeping state between frames, which would not be possible in a purely shader-based system otherwise. For example, if you have some sort of player character you move around the world, you may use one pixel to store the position, another to store the rotation and so on. Or you can use the image output from the previous frame as the input for the next frame to compute IIR functions, simulate cellular automatons and so on. I think by now you can even render to cube maps and multiple viewports (for VR).
There's even a "sound" shader you can write that is called once and then renders a waveform for one minute and then plays that back while displaying the regular shader.
He's known as "iq" in Shader circles and is basically a god. He's also the (co?)creator of Shadertoy.com
sin((1+sin(x+y))*asin(.5*(sin(x)+sin(y)))+(1+sin(x-y))*asin(.5*(cos(x)+cos(y))))=0
it draws something like a chain link fence. [1] It works well on a battery operated calculator, so a desktop computer should have no trouble with it, but does the software exist?[0]: https://www.youtube.com/watch?v=GAVqjBxFyXA [1]: https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2F...
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.
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.
I use this app all the time to help me simplify expressions (I'm an engineer - I use math, I love math, but I am no mathematician, so I seek shortcuts where I can to save time).
1.) Compute '10 = x^2 + y^2' with the Wolfram|Alpha website (https://www.wolframalpha.com/input/?i=10+%3D+x%5E2+%2B+y%5E2) or mobile app (wolframalpha:///?i=10+%3D+x%5E2+%2B+y%5E2).
Your function works fine here and my blog post contains many examples of other cool functions to plot, including the pathological
exp(sin(x) + cos(y)) - sin(exp(x+y)) = 0
My plotter is very slow, however; it uses random sampling instead of any sort of clever interval arithmetic.I thought it was called SpaceTime before, not sure
Amazing beautiful formulas, I'm surprised!
Thanks to Inigo and Rafæl for a new cool tool!
PS: why do designers prefer gray colors UI, but there is no alternative?
https://www.youtube.com/watch?v=97T-Zw5Nyf0
Its interesting to see how fast the browser is versus this calculator. Sorry for the unprofessional video.