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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: A novel math library for the TypeScript community

1 点作者 clumsycomputer超过 2 年前
here is a little library of fun math functions and types that have been slowly iterated on in one form or another during my free time for the past decade<p>the stuff on rhythm is the most fleshed out and should be documented enough for others to dive into<p>theres also some rough utilities for playing with prime numbers which can be helpful when composing rhythms<p>the next step for this library is to implement functions and types dealing with the concept of a loop which is a generalization of a circle, ellipse, and egg plus additional features!! this abstraction is what im most excited about right now but the current implementation is rather slow for professional use when dealing with audio&#x2F;signals<p>the majority of the code presented here was developed in the context of me playing with simple 2d graphics and animations and thus may hinder more serious use from others. nonetheless i felt like it was time to share<p>if you want to play around with the code yourself i recommend using a tool that ive been developing that enables rapidly developing animations where frames are described using svg elements ⓐ la react<p><a href="https:&#x2F;&#x2F;github.com&#x2F;clumsycomputer&#x2F;clumsy-graphics" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;clumsycomputer&#x2F;clumsy-graphics</a>

暂无评论

暂无评论