Description

Armos is a free and open source library for creative coding in D programming language.

Package Information

Version0.1.0 (2017-Jan-30)
Repositoryhttps://github.com/tanitta/armos
LicenseBSL-1.0
CopyrightCopyright © 2015, tanitta
Authorstanitta
Registered bytanitta
Dependencies

derelict-ogg

derelict-al

derelict-fi

derelict-glfw3

derelict-assimp3

derelict-ft

derelict-gl3

fswatch

derelict-sdl2

derelict-vorbis

colorize

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

English/日本語

armos

Dub version Dub downloads Build Status

armos is a free and open source library for creative coding in D programming language.

Demo

import armos.app;
import armos.graphics;
class TestApp : BaseApp{
    Mesh line = new Mesh;

    override void setup(){
        lineWidth(2);
        line.primitiveMode = PrimitiveMode.LineStrip;
    }

    override void draw(){
        line.drawWireFrame;
    }

    override void mouseMoved(int x, int y, int button){
        line.addVertex(x, y, 0);
        line.addIndex(cast(int)line.numVertices-1);
    }
}

void main(){run(new TestApp);}

Platform

  • Linux
  • macOS
  • Windows

Require

  • dmd
  • ldc(optional)
  • dub
  • GLFW3
  • OpenGL3
  • FreeImage
  • OpenAL
  • libogg
  • libvorbis
  • Assimp

Install

  1. Install some packages to build with dlang.
  • macOS
  brew install dmd dub
  1. Download this repository.
  • via github
  git clone git@github.com:tanitta/armos.git
  dub add-local <repository-path>
  • via dub(deprecated)
  dub fetch armos
  1. Install dependency dynamic libraries.
  • macOS
  brew install glfw3 assimp freeimage libogg libvorbis

Usage

  1. put the following dependency into your project's dub.sdl or dub.json.
  dependency "armos" version="~>0.0.1"

Why use D?

  • Processing Speed : D is as fast as C++ programs.

  • Build Speed : The compilation is more faster than a speed of C++. Because of that, we can repeat trial and error.

  • Extensibility : We can use C/C++/Objective-C via D binding.

  • Easiness to learn : It isn't so much complex than C++!

  • Other point is here

ScreenShots

ss1

ss2

Contribution

Contributions are very welcome!

  1. Fork it
  2. Create your feature branch from dev branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Available versions

0.1.0 0.0.3 0.0.2 0.0.1 ~master ~tweak-readme ~fix-samples ~fix-disp ~fix-broken-readme ~feature-vector-with-simd ~feature-gaussianblur ~feature-fixing-fbo-rendering ~dev ~add-phongshader