Giter Site home page Giter Site logo

linecode / anima Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sonoro1234/anima

0.0 1.0 0.0 10.17 MB

my tools for making videos with opengl watch them at: https://vimeo.com/user67846254

Lua 62.25% GLSL 3.28% CMake 0.60% C 28.83% Shell 0.04% C++ 4.92% Makefile 0.09%

anima's Introduction

anima

my tools for making videos with opengl watch them at: https://vimeo.com/user67846254

anima folder should be in lua folder and then

--this loads some globals
require"anima"
--create a 1200x800 canvas without SDL (with GLFW)
local GL = GLcanvas{H=800,aspect=1.5,SDL=false}

function GL.init()
  --init gl stuff here
end

function GL.imgui()
  --run imgui code here
end

function GL.draw(t,w,h)
  --do gl work here
end

GL:start()

compiling

Started a building CMake system only needing -DLUAJIT_BIN="path where you desire installation".

CMake 3.13 is needed for installing git submodules. (If your system doesnt have it it can be downloaded from https://cmake.org/download/ and then used from a script that sets the PATH)

Some CMake option to allow-disable building are:

  • ANIMA_BUILD_LUAJIT - Building of LuaJIT
  • ANIMA_BUILD_IM - Building of im
  • ANIMA_BUILD_GLFW - Building of GLFW
  • ANIMA_BUILD_SDL - Building of SDL2
  • ANIMA_BUILD_IMGUI - Building of ImGui (This needs ANIMA_BUILD_GLFW or ANIMA_BUILD_SDL)
  • ANIMA_BUILD_SNDFILE - Building of libsndfile and libsamplerate
  • ANIMA_BUILD_RTAUDIO - Building of LuaJIT-rtaudio (defaults to OFF)

anima's People

Contributors

sonoro1234 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.