clumsy-graphics
plot-create-react-app-exampl
clumsy-graphics | plot-create-react-app-exampl | |
---|---|---|
7 | 1 | |
11 | - | |
- | - | |
10.0 | - | |
over 1 year ago | - | |
TypeScript | ||
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
clumsy-graphics
-
Reanimate: Haskell library for building declarative animations from SVG graphics
for those interested in a typescript / react alternative checkout https://github.com/clumsycomputer/clumsy-graphics
- clumsy-graphics: a tool for rapidly developing animations where frames are described using svg elements à la react
- built on node => a tool for rapidly developing animations where frames are described using svg elements à la react
- thanks to inkscape, ffmpeg, and countless other opens-source software projects... ive implemented a tool for rapidly developing animations where frames are described using svg elements à la react
- thanks to ffmpeg and inkscape ive implemented a tool for rapidly developing animations where frames are described using svg elements à la react
-
Show HN: A novel math library for the TypeScript community
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
the stuff on rhythm is the most fleshed out and should be documented enough for others to dive into
theres also some rough utilities for playing with prime numbers which can be helpful when composing rhythms
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/signals
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
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
https://github.com/clumsycomputer/clumsy-graphics
plot-create-react-app-exampl
-
Reanimate: Haskell library for building declarative animations from SVG graphics
Yeah, I wish this project had a React component backend.
D3.js and Observable Plot don't work that well with modern reactive frontend frameworks either though. They don't diff the SVG tree. The recommended way to react to some data change is to rebuild the whole SVG in a useEffect [1], when in fact you could just have a reactive SVG tree [2]. You just have to unpack and recode what would D3 do (see the case about Axis in the last link). Using enter(), update() and exit() seems to no longer be the way to do things. Also, React components offers great composability to the programmer.
I wish there was a maintained React version of Observable Plot; just like what React-Three-Fiber [3] does with Three.js. Or maybe a version of this Reanimate lib into a React component.
[1] https://github.com/observablehq/plot-create-react-app-exampl...
[2] https://wattenberger.com/blog/react-and-d3
[3] https://github.com/pmndrs/react-three-fiber
What are some alternatives?
prettyavatars - A collection of pretty default avatars to use in your next project ✨
plot-create-react-app-example - An example of Observable Plot with Create React App
clumsy-math - a little library of helpful math utensils 🙂
react-diagrams - a super simple, no-nonsense diagramming library written in react that just works
reanimate - Haskell library for building declarative animations based on SVG graphics
video-cutter - Cut any video online using FFMPEG... no server needed ! (Thanks WebAssembly)
react-three-fiber - 🇨🇭 A React renderer for Three.js