metaphorical
metaphorical on Hacker News
Posted by
metaphorical on Wednesday March 18, 2026 @10:30AM
from the show-hn dept.
https://ptspy.org/
An experimental python library I've been working on and off as a side project for years (mostly procrastinating). It's a follow-up of Pts.js, with the intent to explore more on visual composability. I would love your feedback :)
Posted by
metaphorical on Monday December 11, 2023 @02:04PM
from the audiobox.metademolab.com dept.
An excellent intro to geometric algrebra
Posted by
metaphorical on Friday October 27, 2023 @07:33PM
from the youtube.com dept.
Posted by
metaphorical on Monday October 03, 2022 @02:03PM
from the playtorch.dev dept.
Posted by
metaphorical on Wednesday December 01, 2021 @02:27PM
from the twitter.com dept.
Yes, canvas is faster and I think d3 now supports canvas too, right?
d3 will give you a lot more support for data manipulations, but (if I may say so) creating highly customized visualizations can be easier in Pts.
I think it should be possible to use both d3 and Pts together. If you experiment with this approach, please let me know how it goes!
Thank you! It started as a somewhat speculative personal project so I'm really grateful to hear that it resonates with you and others.
I'm building another library on top of this -- it's moving at a very slow pace so hopefully I can release it one day :D
Thank you so much. I would love to see the visualizer you made!
Really glad to hear the docs are working as intended too.
It's difficult to compare.
I love processing/p5 and it's very easy to learn and has a vibrant community and lots of add-ons. It's also a great education tool.
Pts is a more opinionated library because one of my personal motivations was to create something that can help me think and approach creative coding in conceptual ways. It's more composable, and it provides the building blocks for a complementary library that I'm building now. :)
Hi HN, Pts is one of my late-night personal projects :)
Thanks for posting. Happy to answer any questions.
TikTok left Hong Kong because HK is a tiny market, and they wouldn't want the PR backblash if they had to share HK data with CCP.
There's evidence that Bytedance is not independent of CCP interferences though - such as the CEO's public statement in 2018 where he stated that Bytedance products should support "socialist core values" etc.
https://chinamediaproject.org/2018/04/11/tech-shame-in-the-n...
My favorite quote from Klee:
"Art does not reproduce the visible but makes visible."
His shorter Pedagogical Sketchbook is also worth a read.
Reminds me of that W. B. Yeats poem that also seems relevant for the world we're heading towards:
---
When Loie Fuller’s Chinese dancers enwound
A shining web, a floating ribbon of cloth,
It seemed that a dragon of air
Had fallen among dancers, had whirled them round
Or hurried them off on its own furious path;
So the platonic Year
Whirls out new right and wrong,
Whirls in the old instead;
All men are dancers and their tread
Goes to the barbarous clangour of a gong.
It has Pts specific autocomplete too :)
There's no need to learn typescript. You can use it like a good old js library by including it in script tag. But you're right that perhaps the messaging should be clearer.
pts-starter-kit comes with an example demo (in index.html). Does that work for you?
Please file an issue and we will figure out from there. Thanks for trying it out!
Yes! It first started as Pt (in coffeescript) a few years ago, and it's an experimental project to explore "a single point". Last year I started rewriting everything from scratch, and focus more on sets of points and how functions can transform them.
The performance should be a bit better (with Float32Array) though I haven't compared them.
You're right. Sorry I misunderstood.
Thank you! I hope this may nudge you a bit to bring your lab experiments back :)
p5 is great too so I would recommend giving it a try also.
1 hour here, 2 hours there, over a long period of time :)
Thank you! Yes, I want to make sure the lib is lightweight and easy to use for beginners -- just include a script and ready to go. There's of course a babel-ES6-TS-something for experts too :)
The same AI tech developed for "search and rescue" can be easily re-purposed for "search and destroy". How would Google prevent that from happening?
Question: what is the advantage of SPA for a statically generated site?