Giter Club home page Giter Club logo

nodes's Introduction

Nodes

A minimal backend for nodes.

Features

  • No external dependencies - only the C++ standard library is used
  • Backend only - you can implement your own frontend
  • Simple API (at least in my opinion)
  • Node muting
  • Node groups (see the example group node under src/nodes/groupnode.[cpp,h])

What Is Missing/What I'll Work On Next

  • Looping
  • Evaluation using concurrency/parellism

Compiling

This assumes you already have C/C++ and CMake already set up.

  1. Download or clone this repository
  2. Open a terminal in the top level directory.
  3. Run mkdir build && cd build
  4. Run cmake ..
  5. Run the appropriate command for the compiler you're using, i.e.
make
# or
ninja
# or
clang
# etc.

Running

To run the example found in src/main.cpp, run ./src/nodes{{OS EXECUTABLE EXTENSION}} still inside of the build/ directory, where {{OS EXECUTABLE EXTENSION}} is the operating system's executable extension, i.e. blank for Linux, .exe for Windows, etc..

Additional Notes

  • As of writing, I am not completely convinced that this uses the most efficient evaluation system. A key problem is that the whole node tree is evaluated every time, even if some nodes don't need to be run again.
  • I am not entirely sure how much I will maintain this repository, particularly as this was originally intended to be a prototype for Gimel Studio, but if there is enough interest I will continue working on it.

License

This project is released under the MIT license. Do what you wish with it. :)

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.