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.

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

243 pointsby sctgrhmabout 4 years ago

13 comments

metaphoricalabout 4 years ago
Hi HN, Pts is one of my late-night personal projects :)<p>Thanks for posting. Happy to answer any questions.
评论 #27058204 未加载
评论 #27058097 未加载
评论 #27059203 未加载
lxeabout 4 years ago
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 未加载
peterhilabout 4 years ago
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 未加载
kowloabout 4 years ago
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
FractalHQabout 4 years ago
Really cool stuff! The touch detection on mobile seems to be a bit wonky when I scroll through.
评论 #27054327 未加载
jeffrallenabout 4 years ago
Upvote for the typo in the title. That&#x27;s how my mom says it.
评论 #27058254 未加载
lf-nonabout 4 years ago
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>
elliotlarsonabout 4 years ago
It would be cool to see a comparison between this and existing libraries like p5.js.
评论 #27056804 未加载
评论 #27053600 未加载
qmmmurabout 4 years ago
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!
dkarrasabout 4 years ago
feels like paper.js and processing had a child. cool stuff!
maxbainesabout 4 years ago
Insanely cool, thanks. I have been looking for something to use on my profile, blog etc, this is perfect.
alvarlagerlofabout 4 years ago
Can&#x27;t stop thinking about out post and telecommunication board.
jevgeniabout 4 years ago
Title has a very airy typo.<p>Also, my new favorite library.