reanimate
TermKit
Our great sponsors
reanimate | TermKit | |
---|---|---|
14 | 20 | |
1,102 | 4,435 | |
0.5% | - | |
0.0 | 0.0 | |
4 months ago | over 12 years ago | |
Haskell | JavaScript | |
The Unlicense | 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.
reanimate
- Old blog of Matt Henderson, beautiful math animations
-
Interactive animations
Reanimate sounds almost ideal, with its support for LaTeX. But unfortunately, it is all rendered in batch, not providing for any interactivity.
- Reanimate: Build declarative animations with SVG and Haskell
-
Reanimate: Haskell library for building declarative animations from SVG graphics
Is this the discussion you're referring to? https://github.com/reanimate/reanimate/discussions/210
It's actually pretty interesting to read. The author makes a not totally unreasonable argument as for why it uses unsafePerformIO.
Now what I'm really curious about is why the very first example on the site I clicked into the source code for, a simple 59-line example, is using unsafePerformIO. That actually worries me more because it suggests that as a user I might have to use unsafePerformIO. https://github.com/reanimate/reanimate/blob/d4d3898831edb4aa...
-
Suggestions for "dashboard" graphics libraries?
Not really dashboard library, but reanimate is a good library for this kind of stuff.
-
How was your study routine to become good at haskell?
Some other "applications" (if you're not interested in compilers) might be writing shell scripts: https://hackage.haskell.org/package/turtle Or animating stuff: https://github.com/reanimate/reanimate and https://hackage.haskell.org/package/gloss
-
Looking for SVG library recommendations
That aside, it seems that svg-tree doesn’t support filter elements, so I recommend reanimate-svg. You can join the Discord server for Reanimate and ask for help. Good luck.
-
Manim – Python library for creating mathematical animations
See also reanimate, a very similar Haskell library: https://reanimate.github.io/
-
Advanced programming exercises/apps recommendations to code
This is very niche, but something I've wanted to do for a while is to generate some cool physics example on the surface of a sphere with https://hackage.haskell.org/package/hamilton, and display it with https://reanimate.github.io/ (using https://hackage.haskell.org/package/linear for the projection)
-
[Newcomer] Status of AI, graphics programming and performance in Haskell?
Hi u/Target_Organic, I wich you a warm welcome! Haskell is often very satisfying to work with, it has a sense of beauty in it. Regarding your questions: 1. I never had big problems about performance. However, I personally place more emphasis about correctness, simplicity and readability of my programs. Performance tuning comes after. 2. For graphic libraries, I know diagrams, Reanimate and Haskell-chart. Since you seems interested by mathematical approach to graphics, I think you will find happiness there. 3. I'm not sure about the AI field. Other, more practical languages such as Python seems to have taken the lead. What is sure for me, that Machine Learning/NN would be nicely describe in Haskell with solid foundations.
TermKit
-
Waveterm
First time I saw an idea like this was with termkit [1], which I thought was great and was sad to see it didn't get continued development.
I really feel like we overlook the ways in which we limit ourselves by having our CLI interfaces be tied to a thing that emulates a terminal from the 80s.
The composability, scriptability, history, etc. of CLIs is great, but why should that preclude us from being able to quickly show a PNG or graph a function?
Maybe it's an idea whose time has come.
[1] https://github.com/unconed/TermKit
- Stable Fiddusion: Frequency-domain blue noise generator
- The Small Website Discoverability Crisis
- Hackery, Math and Design by Steven Mittens
-
Fuck It, We'll Do It Live
I'm impressed by this blog every time I see it, both visually and content-wise.
- Calculating dot products on GPU instead of CPU
-
Ask HN: Has anyone fully attempted Bret Victor's vision?
I agree with this. It's hard to nail down why Victor's talks are so compelling, when each of these items separately are much more mundane but are still quite well explored areas.
* "What if" feedback loops/direct manipulation
Victor's vision abstractly seems to be trying to predict/explore the consequence of some action in programming, and in specific demonstration seems to be using small widgets to allow easy manipulation of inputs to get an intuitive understanding of outputs. This could be boiled down to different goals: "Allow a program to be more easily tweaked" and "Explore a concept to get intuition of a different viewpoint". The more cynical/pragmatic interpretations for these are "make a GUI for your program" and "use interactive demos when teaching certain topics".
The first interpretation is almost comical, but we can maybe expand this to be "when you make a GUI, think about how your interface is being interpreted intuitively and this can help make your app more usable". This can maybe understood more easily when taken with the fact that Bret Victor helped design the interface for the first iPhone - famously intuitive to use. This also leads to its limitations - only concepts that have another more intuitive viewpoint can be represented. I can add a colour wheel to my WYSIWYG editor rather than hex values, but I can't easily create a GUI that lets me express that I want to validate, strip the whitespace from an email address and put it into lowercase.
The second interpretation leads to explorable explanations, which Victor has made a few of himself [0,1], but I would also cite Nicki Case [2] and unconed [3] as being other good examples. Again, this is only afforded to specific topics that have scope for exploration.
* Making logic feel more geometric/concrete
This can be seen in things like Labview (made in 1986), Apache NiFi (made in 2006) among others, e.g. SAS. In a sense, this has existed in the form of UNIX pipelines and functional programming since the first LISP was made. There is a further point which is "there currently aren't tools like this that are suitable for a non-programming audience", which is what 'Low Code' and 'No Code' is trying to achieve, but unfortunately in practice as soon as you hit a limitation of the framework then you're back to needing an engineer again.
* Human Interfaces
Sort of addressed in 'feedback loops' point above, but the DynamicLand is an interesting demo of what he's trying to get to. I think this speaks more to me with internet of things. I have friends who have set up full smart-home heating systems and can move music between rooms which are all very much seen the same as adjusting a physical thermostat rather than 'programming' or similar.
There is definitely a lot that can be explored here for certain applications, but there probably isn't direct utility in arranging pieces of paper with coloured dots on it in order to set the path of a robot. I can see this in a more consulting/capture sense of presenting certain input parameters in a more physical format, but again this is deviating from the OP's notion that this is a whole programming environment.
[0] http://worrydream.com/LadderOfAbstraction/
[1] http://worrydream.com/KillMath/
[2] https://ncase.me
[3] https://acko.net
-
B Com -> BE IT (Learning)
Just a ref: https://acko.net/
- this true?
-
Use.GPU
Cool, Steven Wittens is behind this. The header at https://acko.net/ is one of the first examples of WebGL I remember seeing in the wild, and still one of the cleanest. Looking forward to seeing where this goes!
What are some alternatives?
manim - Animation engine for explanatory math videos
manim - A community-maintained Python framework for creating mathematical animations.
brick - A declarative Unix terminal UI library written in Haskell
termy - A terminal with autocomplete
plot-light - A lightweight plotting library, exporting to SVG
mathbox - Presentation-quality WebGL math graphing
OpenGL - Haskell bindings to OpenGL
consola - 🐨 Elegant Console Logger for Node.js and Browser
Vulkan - Haskell bindings to Vulkan (see https://www.khronos.org/vulkan)
playground-macos - My portfolio website simulating macOS's GUI, developed with React and UnoCSS.