HNHacker News
TopNewBestAskShowJobs

brandonpelfrey

216 karma · joined October 12, 2015

submissionscomments
brandonpelfrey··on Complex Mapping Visualizer
If you like this kind of stuff, also feel free to play around with a realtime complex-valued expression->glsl version I made a while back. I like the one here a lot as well since it probably runs everywhere even without webgl

http://brandonpelfrey.github.io/complex-function-plot/?expre...

brandonpelfrey··on Show HN: A WebGL-based Complex Expression Parser and Plotter
Yeah, this seemed kind of "unfortunate" when I started this project, but it still turned out to be an interesting/fun toy.

The issue is that when you compute where f(z) sends each point in the complex plane to, you would need to color in the pixel corresponding to that transformed point. f() is user-defined, so it could be a very weird function that could cover some portions of the image we're trying to draw but not others, etc. Moreover, even if I had some kind of procedure for determining which x's to sample so f(x) lay inside the image we're trying to draw, it's not amenable to GLSL. This is typically referred to scatter vs. gather-type operations.

brandonpelfrey··on Show HN: A WebGL-based Complex Expression Parser and Plotter
I should probably try to find a way to make it clearer what all can be done, or make it more obvious where the documentation is ("t" is mentioned there.)
← PreviousPage 2 of 2