TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Graph Toy, an interactive graph visualizer using mathematical functions

194 点作者 netule超过 4 年前

10 条评论

TeMPOraL超过 4 年前
This reminds me of my favourite Windows application ever: EvalDraw.<p>It&#x27;s like this, except that beyond drawing single-argument f(x) -&gt; y functions, it also draws f(x, y) -&gt; z heatmaps, f(x, y) -&gt; (R, G, B) colored heatmaps, f(x, y, z) -&gt; (R, G, B) volumetric 3D graphics, and all these have also a f(..., t) -&gt; ... variant for animations. And then you dig in and discover it somehow also has keyboard &amp; mouse input handling, can play sounds (and can be used for live procedural music), simulate a piano keyboard, and probably a bunch of other stuff I&#x27;m forgetting. It was my go-to tool for visualizing any kind of math back during the university years.<p>In fact, I just took a look at it again (after not using it for years) and I discovered it has networking capability, IDE features, and - I kid you not - it seems to compile the scripts down to native code, offering a helpful x86 ASM output in the built-in debugger. It can dump executables, has bindings to OpenGL and support for old-school VR (colored stereoscopic, NVidia 3DVision).<p><i>All in an executable that weighs 746 KB.</i><p>It&#x27;s hands-down one of the most impressive pieces of software I have ever seen.<p><a href="http:&#x2F;&#x2F;advsys.net&#x2F;ken&#x2F;download.htm#evaldraw" rel="nofollow">http:&#x2F;&#x2F;advsys.net&#x2F;ken&#x2F;download.htm#evaldraw</a><p>EDIT: And if you give it a try, be sure to check some of the ridiculous amount of examples it comes bundled with, which include games, explorable explanations, infinite calendars, optical systems simulations, and a whole host of other stuff.
评论 #25577000 未加载
评论 #25578072 未加载
评论 #25584922 未加载
评论 #25576794 未加载
netule超过 4 年前
This is based on the original work by Inigo Quilez [1], but adds support for time and custom constants.<p>[1] <a href="http:&#x2F;&#x2F;www.iquilezles.org&#x2F;apps&#x2F;graphtoy&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.iquilezles.org&#x2F;apps&#x2F;graphtoy&#x2F;</a>
评论 #25574967 未加载
dahart超过 4 年前
If the author is here -- the extra features compared to IQ&#x27;s version are nice! I might make this my bookmarked default version.<p>If interested, here are a few thoughts:<p>- It might be good to link directly to IQ&#x27;s version of GraphToy, rather than his homepage.<p>- I dig the white background option!<p>- The create link feature is a bit smoother than the original.<p>- The download image button is a great idea, though I just realized with both versions you can right click to save the image, without needing a new tab. One thing that occurred to me -- it would be <i>killer</i> if the download image version popped up an SVG render with a higher sampling rate, instead of pixels! A little text or UI could clarify how to save a pixel version vs a vector rendering.<p>- I like the escalator function used to demo the time variable! I&#x27;ve used that very function on ShaderToy.<p>- It would be super nice if the plot window used a flexbox or grid layout to stretch to fill the window. It&#x27;s currently a bit smaller than IQ&#x27;s and doesn&#x27;t resize.<p>- Might also be nice to have the help box be a popup you can click (the way it works in ShaderToy), and maybe put the variables underneath the plot, to allow the plot to expand to basically full screen?
symplee超过 4 年前
This is awesome!<p>Anyone discover any cool graphs to share?<p>For example, the simplest one producing something interesting I&#x27;ve found so far is:<p><pre><code> t%x </code></pre> Which creates a growing jagged triangular graph when you press &quot;play&quot; for the &quot;t&quot; constant.<p>Naturally, this can be built upon to make weirder and weirder graphs, ex:<p><pre><code> sin(t%x)</code></pre>
评论 #25579918 未加载
评论 #25575450 未加载
评论 #25575955 未加载
nayuki超过 4 年前
Reminds me of &quot;(t,i,x,y) =&gt; creative code golfing&quot; <a href="https:&#x2F;&#x2F;tixy.land&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tixy.land&#x2F;</a> ; &quot;Minimal 16x16 Dots Coding Environment&quot; <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24974534" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24974534</a> .
danpalmer超过 4 年前
This reminds me of Grapher on macOS, which I had expected would have been removed by now, but no, it&#x27;s still there on Big Sur!
评论 #25576188 未加载
评论 #25585828 未加载
akerr超过 4 年前
Reminds me of desmos.com which is aimed for education but is quite powerful, e.g. audio support for accessibility.
zw123456超过 4 年前
It would be fun if it could play the wave form as audio.
petrocrat超过 4 年前
Is this a custom &lt;Canvas&#x2F;&gt; widget or is it using a library to create the canvas? If so, which library?
评论 #25574977 未加载
nwotnagrom超过 4 年前
this is great....