Coder Social home page Coder Social logo

askmeaboutlo0m / rouse Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 6.44 MB

Yet another wrong animation library.

License: MIT License

CMake 1.80% Perl 9.04% C 62.37% Lua 4.36% C++ 18.59% Shell 0.91% Python 0.26% GLSL 0.14% Dockerfile 0.15% HTML 2.39%

rouse's Introduction

NAME

rouse - cross-platform interactive animation engine

SYNOPSIS

Flash Player is dead and I still want to make interactive animations. This is my replacement.

The main library is written in C and there's Lua bindings on top of that. It's confirmed to run on Linux, Windows and, thanks to Emscripten, in just about any browser you can get your hands on, even on mobile devices. It should also work natively on macOS, iOS and Android, but I haven't gotten around to trying that.

Check out a sample animation here: https://askmeaboutlo0m.github.io/rouse-sampleanim/index.html

DESCRIPTION

There's a few sub-projects here:

Building

This project uses CMake. You need version 3.14 or newer.

Perl version 5.20 is required for several code generation scripts involved. It should come with most Linux distributions and macOS.

You need SDL2 and SDL2_image. Those should be available in your package manager. You also need cglm, which you probably need to build from source.

I've only tried building this on Linux with gcc and clang. It should work on other systems as well, but probably needs adjustments.

Check out the metamake script, it's what works for me. It uses Ninja as the CMake generation target, so either install that (via your package manager ideally) or replace it with make calls. It supports the following build modes:

  • metamake debug to build for Linux in debug mode.

  • metamake release for Linux release mode.

  • metamake emscripten to build a browser version. You need Emscripten and set the EMPREFIX environment variable to where you installed cglm.

  • metamake windows to cross-compile to Windows. This requires Docker, but nothing else, as it'll bootstrap itself.

KNOWN ISSUES

This thing is still severely undercooked. Docs are missing.

LICENSE

Code is copyright 2019, 2020 askmeaboutloom. Licensed under the MIT license, see the LICENSE file for details.

Images and models are copyright 2019, 2020 askmeaboutloom, licensed under a Creative Commons Attribution 4.0 International license (CC BY 4.0).

Licenses for third-party software and other works are marked where applicable.

rouse's People

Contributors

askmeaboutlo0m avatar

Stargazers

 avatar

Watchers

 avatar

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.