#Sneak peek for my current WIP project
17 messages · Page 1 of 1 (latest)
Would be really nice to have as an independent package. For example I'm releasing a package that would benefit from smooth function rendering. At the moment I'm just sampling the function at a constant density in the domain and interpolating with a spline, but I'm not satisfied. At the same time, this is not at the core of the package so it makes no sense for me to spend time on that. Thanks for your work 🙏
thinking of it, only problem is I was a idiot back when I started this project and ended up in spaghetti mess;;; ill clean up and then maybe consider contributing!
Just my opinion: function rendering is a problem generic enough not to be solely an issue of plotting... but I do agree with Enivex
What exactly does this do? If you look at the sin(50x) example every iteration of the sine is slightly different, especially the tips of the peaks and valleys each look spiky in a different way. Not particularly more or less smooth than others I’ve seen
Presumably place samples more densely in areas with more variation
looks like it calculates the function in fine steps adaptively and only retains points with significant enough variation
though https://github.com/sihooleebd/noteworthy/blob/nightly/templates/geometry/func.typ implements / did in its history implement a bunch of different methods for various occasions. It'll be interesting to see what it ends up settling on!
yea this is probably why
last time I was so sleepy and accientally ran that thingy with 200000 base samples.... well the entire thing crashed in like 3 seconds or smth.
Its basically a payoff between quality and computer memory