Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stuffmatic
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
stuffmatic
2y ago
Yes, that is a bug, good catch. The app should show an error if the function is not defined in all chebyshev nodes. Like you have already discovered, it's easy to work around this issue for now.
2.
▲
by
stuffmatic
2y ago
You could look into using the ChebyshevExpansion class directly. It takes as one of its arguments a callback that returns f(x) for a given x. In your case, f(x) would be your sensor values with some suitable interpolation. A more ambitious
3.
▲
by
stuffmatic
2y ago
Thanks for the kind words. I also found it surprisingly hard to find working Chebyshev approximation code. Hopefully this project will change that :)
4.
▲
by
stuffmatic
2y ago
Or, since the function expression is just JavaScript, singularities can also be avoided like this: x == 0 ? 1 : Math.sin(x) / x
5.
▲
by
stuffmatic
2y ago
Thank you! Yes it does feel a bit magical, both the mathematical aspects and the fact that it all boils down to a few lines of code in practice.
6.
▲
Show HN: Chebyshev approximation calculator
(stuffmatic.com)
278 points
by
stuffmatic
2y ago
|
51 comments
7.
▲
by
stuffmatic
6y ago
Yeah, I don't currently have any plans to release the code unfortunately. But in short it's a scenegraph library written in typescript plus a sprawling collection of algorithms in various states of completion. The scenegraph can b
8.
▲
by
stuffmatic
6y ago
By popular demand, I've added Atom feeds for blog posts and projects: https://stuffmatic.com/feed.xml https://stuffmatic.com/feed/projects.xml
9.
▲
by
stuffmatic
6y ago
I love pendantic notes! Steiner chains, Thurston's notion of circle packing and circle packing as an optimization problem are quite different from a theoretical point of view. However, they all have one thing in common, and that is tha
10.
▲
by
stuffmatic
6y ago
Thanks for the kind words! I'm using a custom built javascript framework that runs in a web browser. Should probably have mentioned this in the post :) Others have requested RSS too, by the way. I'll look into it.
11.
▲
Parametric lamp design using circle packings
(stuffmatic.com)
206 points
by
stuffmatic
6y ago
|
31 comments
12.
▲
Making a Pentagonal Tiling Puzzle
(stuffmatic.com)
1 points
by
stuffmatic
6y ago
|
0 comments
13.
▲
by
stuffmatic
7y ago
The tools are written in typescript and run in a web browser. I use vue.js to build interactive GUIs.
14.
▲
by
stuffmatic
7y ago
Thanks for the kind words!
15.
▲
by
stuffmatic
7y ago
I've been asking myself the same question :) There's just something irresistibly tacky about cigarettes as a design element.
16.
▲
Adventures in parametric textile pattern design
(stuffmatic.com)
41 points
by
stuffmatic
7y ago
|
12 comments