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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Pts.js: a modular librairy for visualization and creative coding

243 点作者 sctgrhm大约 4 年前

13 条评论

metaphorical大约 4 年前
Hi HN, Pts is one of my late-night personal projects :)<p>Thanks for posting. Happy to answer any questions.
评论 #27058204 未加载
评论 #27058097 未加载
评论 #27059203 未加载
lxe大约 4 年前
Wow. High quality stuff. Great API. Lots of demos! (<a href="https:&#x2F;&#x2F;ptsjs.org&#x2F;demo&#x2F;?name=sound.freqDomain" rel="nofollow">https:&#x2F;&#x2F;ptsjs.org&#x2F;demo&#x2F;?name=sound.freqDomain</a> is the best).
评论 #27059956 未加载
peterhil大约 4 年前
The API seems much more intuitive than that of D3.js!<p>I used D3.js originally to draw line charts to visualise USGS mineral statistics, but currently only use it for svgLine (from d3-shape) and scaleLinear and scaleLog (form d3-scale) functions.<p>Is drawing on canvas much faster than on SVG?<p>Could matrix or other transforms be used to map screen coordinates to chart coordinates as the d3 scales do?<p>Generic projections in complex plane (viewed as cartesian or polar coordinates) might be fun for generative art or visualisations of various signals.
评论 #27058830 未加载
kowlo大约 4 年前
The demos are very fun to play with, and I was surprised how brief the code was for each one... would be great to see a comparison to similar librairies
FractalHQ大约 4 年前
Really cool stuff! The touch detection on mobile seems to be a bit wonky when I scroll through.
评论 #27054327 未加载
jeffrallen大约 4 年前
Upvote for the typo in the title. That&#x27;s how my mom says it.
评论 #27058254 未加载
lf-non大约 4 年前
For people interested in creative coding and data driven visualizations there is also the thi.ng umbrella [1] which provides a large collection of modular micro utilities.<p>Many of them are clojure inspired and are written in functional-style typescript.<p>A lot of these utilities (eg. transducers, multi-methods, stream utilities etc.) are very useful outside the data-visualization space as well.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;thi-ng&#x2F;umbrella&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;thi-ng&#x2F;umbrella&#x2F;</a>
elliotlarson大约 4 年前
It would be cool to see a comparison between this and existing libraries like p5.js.
评论 #27056804 未加载
评论 #27053600 未加载
qmmmur大约 4 年前
This is actually such great work. Great examples (they look good don&#x27;t just read good ;)) and an attractive API. You&#x27;re a talented developer!
dkarras大约 4 年前
feels like paper.js and processing had a child. cool stuff!
maxbaines大约 4 年前
Insanely cool, thanks. I have been looking for something to use on my profile, blog etc, this is perfect.
alvarlagerlof大约 4 年前
Can&#x27;t stop thinking about out post and telecommunication board.
jevgeni大约 4 年前
Title has a very airy typo.<p>Also, my new favorite library.