Git Product home page Git Product logo

ibniz's Introduction

IBNIZ

IBNIZ is a virtual machine designed for extremely compact low-level audiovisual programs. The leading design goal is usefulness as a platform for demoscene productions, glitch art and similar projects. Mainsteam software engineering aspects are considered totally irrelevant.

IBNIZ stands for Ideally Bare Numeric Impression giZmo. The name also refers to Gottfried Leibniz, the 17th-century polymath who, among all, invented binary arithmetic, built the first four-operation calculating machine, and believed that the world was designed with the principle that a minimal set of rules should yield a maximal diversity.

Demo Video

Building

Windows

Prerequisites:

Download and build the compatibility libraries:

git clone https://github.com/libsdl-org/sdl12-compat.git
cd sdl12-compat
REM extract then copy the sdl2-devel folder you downloaded into this folder
cmake -G "MinGW Makefiles" -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DSDL2_INCLUDE_DIR=./SDL2-2.0.22/include .
cmake --build build
cd ..

Synthesizing the library directory

git clone https://github.com/viznut/IBNIZ
cd IBNIZ\src
mkdir SDL-1.2.14
mkdir SDL-1.2.14\lib
mkdir SDL-1.2.14\include

copy ..\..\sdl12-compat\build\libSDL.dll.a .\SDL-1.2.14\lib
copy ..\..\sdl12-compat\build\libSDLmain.a .\SDL-1.2.14\lib
robocopy ..\..\sdl12-compat\include .\SDL-1.2.14\include /s /e

Building the application

gcc ^
    ui_sdl.c vm_slow.c clipboard.c compiler.c ^
    -o ibniz.exe ^
    -L./SDL-1.2.14/lib -I./SDL-1.2.14/include ^
    -static -lmingw32 SDL-1.2.14/lib/libSDLmain.a SDL-1.2.14/lib/libSDL.dll.a -lwinmm -lm

Linux

Prerequisites:

Run these commands:

cd src
make

MacOS

Prerequisites:

  • Apple developer tools (installed with Xcode)
  • SDL v1.2.x (an easy way to get SDL is via Homebrew brew install sdl)

Run these commands:

cd src
make -f Makefile.osx

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.