Giter Club home page Giter Club logo

Comments (6)

lemmih avatar lemmih commented on May 14, 2024 1

@Hrxn Done! https://reanimate.github.io/reanimate/playground/

from reanimate.

lemmih avatar lemmih commented on May 14, 2024

The playground was fun but cost money to run. I would bring it back if a sponsor stepped up (either with a server or with $10 here on github).

from reanimate.

Hrxn avatar Hrxn commented on May 14, 2024

Oh, I wasn't aware. I thought this was running on GitHub Pages, without, you know, incurring additional costs.

from reanimate.

lemmih avatar lemmih commented on May 14, 2024

It should be possible to use Asterius or ghcjs to run reanimate in the browser (with a small server for compiling animations to JavaScript) . If so, I'll restore the playground.

from reanimate.

lemmih avatar lemmih commented on May 14, 2024

Turns out it'll take up more resources to compile to JavaScript than to just render the SVGs. Will implement a non-javascript version instead.

Tasks:

  • Full-screen playground.
  • Embedded playground.
  • Add premade snippets.
  • Fill out instructions modal.
  • Automatically reconnect if websocket connection is lost.
  • Security:
    • Limit animation duration to 60 seconds
    • Limit CPU time (5 seconds if there's a queue, 30 seconds if there isn't)
    • Limit memory use
    • Limit disk space use (5 megs)
    • Kill and respawn ghci if anything goes wrong
  • Use svgo to optimize generated svgs.
  • Compress svgs to .svgz
  • Automatically redeploy when changes are pushed to reanimate
  • Configure SSL certificate
  • Set cache-control to 'immutable' for SVG files.

@sureyeaah

from reanimate.

Hrxn avatar Hrxn commented on May 14, 2024

Thank you! I think it turned out great! 😄

from reanimate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.