reanimate
scotty
Our great sponsors
reanimate | scotty | |
---|---|---|
14 | 19 | |
1,098 | 1,678 | |
0.5% | 0.6% | |
0.0 | 8.0 | |
3 months ago | about 15 hours ago | |
Haskell | Haskell | |
The Unlicense | BSD 3-clause "New" or "Revised" License |
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: 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.
scotty
-
haskell todo list app (beginner)
I would suggest checking out scotty for the http server - it uses warp by default, and is very beginner-friendly.
-
HLS issues an error for Setup.hs and Spec.hs (using hspec-discover)
Here's the current commit I'm working with: https://github.com/scotty-web/scotty/commit/3ed8586c046b46dc42740e8ac2e7fe712e84191d
-
School of Haskell: Basics
If you're not a fan of the ruby-on-rails / swiss army knife approach that IHP takes, check out Scotty. Add Lucid for Html rendering, and Selda for Postgres. (There are other options for any of these tools if you prefer)
- Scotty (simple web routing) https://hackage.haskell.org/package/scotty
- Programming language comparison by reimplementing the same transit data app
-
Suggestions for "dashboard" graphics libraries?
I've found htmx and hyperscript talking to scotty to be an easy way to get something like this going while retaining the joys of Haskell on the backend and avoiding the pains of Haskell on the frontend.
-
Web development in Haskell
Finally, to add my opinion in the context of some other posts: I'd suggest Scotty (and probably other libraries I'm less familiar with) before Servant in particular, as Servant is a lot to absorb if you're also trying to build fluency in Haskell at the same time. Similarly, I'd advocate for Elmish (disclaimer, it's written by (very talented programmers other than myself at) my company) over Halogen, at least based on the last time I tried Halogen--I found it pretty complex as well. Don't get me wrong, I think Servant and Halogen are both great, just...complex.
-
Building a REST API with Haskell
This is an example of REST API built with Scotty a web framework of Haskell and PostgreSQL a relational database. It's a simple API to manage products.
-
Options for a frontend of demo for a toy app
Not that I'm much of an expert, but if you're talking about a very barebones static single-page-app, then you could very easily get by just using blaze-html to put your elements on the page, and then scotty is a basic web framework you could use to serve up your app.
-
Minimal web framework (ie. "flask for haskell")
For small web projects I always used scotty in combination with some html library like blaze for example.
Snap (http://snapframework.com/) and Scotty (https://hackage.haskell.org/package/scotty) are both projects that can fit this description.
What are some alternatives?
manim - Animation engine for explanatory math videos
brick - A declarative Unix terminal UI library written in Haskell
plot-light - A lightweight plotting library, exporting to SVG
lucid - Clear to write, read and edit DSL for writing HTML
OpenGL - Haskell bindings to OpenGL
reroute - Another Haskell web framework for rapid development
Vulkan - Haskell bindings to Vulkan (see https://www.khronos.org/vulkan)
json - Haskell JSON library
scotty-tls - Run your Scotty apps over TLS
scotty-session - Adding session functionality to scotty
fluid - 🐙 Code-generated, Auto-versioned, & Smart Web APIs
Spock-worker - Background workers for Spock