TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: A WebGL-based Complex Expression Parser and Plotter

23 pointsby brandonpelfreyover 9 years ago

4 comments

Keyframeover 9 years ago
Heh nice, here&#x27;s a rotozoomer: <a href="http:&#x2F;&#x2F;brandonpelfrey.github.io&#x2F;complex-function-plot&#x2F;?expression=eippXigxK3QpK3oqdA==" rel="nofollow">http:&#x2F;&#x2F;brandonpelfrey.github.io&#x2F;complex-function-plot&#x2F;?expre...</a><p>edit: a nicer rotozoom: <a href="http:&#x2F;&#x2F;brandonpelfrey.github.io&#x2F;complex-function-plot&#x2F;?expression=KHoqNCkqaV4oMSt0KSsoeipwaSkqdA==" rel="nofollow">http:&#x2F;&#x2F;brandonpelfrey.github.io&#x2F;complex-function-plot&#x2F;?expre...</a>
BenoitPover 9 years ago
Very nice!<p>I have spend the last hour trying to display the Poincaré disk[1], but to no avail.<p>I have z * ( cos(1.57 * (a^2+b^2+1)^(1&#x2F;2)) &#x2F; sin(1.57 * (a^2+b^2+1)^(1&#x2F;2)) ), which project the coordinates to the infinite on a circle. But this is only a fancy zoom, straight lines are not projected to circles.<p>[1]<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Poincar%C3%A9_disk_model" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Poincar%C3%A9_disk_model</a>
评论 #10373151 未加载
评论 #10373128 未加载
arcatekover 9 years ago
Note that you can apparently use the `t` variable to express time.<p>Ex: t*z
评论 #10374939 未加载
VikingCoderover 9 years ago
z ^ z<p>I love thinking about this, as it goes negative.