Code Monkey home page Code Monkey logo

dnai.editor's Introduction

Main view screenshot


Build status Build Status Build Circle Ci CodeFactor Codacy Badge

Dnai Editor is a visual scripting software that allow you to code with node editing. This editor allow to create ".dnai" files that you can share on our hub. Those ".dnai" are binary files, that can be read by our plugins.

For now we already have a Unity3D plugin, that you can find here. We are currently working on JavaScript library in order to read dnai in JS application.

The Concept

Our main goal is to provide a way to share "logics" over different solutions :

IMAGE ALT TEXT

IMAGE ALT TEXT

Main view screenshot

You can download it for Windows, and macOS on Dnai website.

Exemple of basic case

A self-driving car can be usefull in real life but such AI are also really nice for video games. In a very basic case, a car could use two distance sensors in order to avoid obstacle, one the left and one the right. The "logic" behind could be define as follow :

  • if leftSensorDistance < minDistance && rightSensorDistance < minDistance then stop the car.
  • if leftSensorDistance < minDistance then turn right.
  • if rightSensorDistance < minDistance then turn left.

If we extract the logic behind the avoidance, we can see that in video games we use a RayCast instead of distance sensor as input for leftSensorDistance and rightSensorDistance. As we can see the logic behind remain the same whether you are in real life or in a video game.

The idea here, is to bring an interface that can handle such case, for that we use our ".dnai" file created by our editor. Notice that for now we only have a Unity3D plugin so can test it only on Unity at this point. In the futur we want to bring JavaScript and Python capability in order to add more compatibity and interest for our solution.

Installation

If you want to test our editor you can get if from our website https://dnai.io/download.

You just need to follow the installation instructions, we maintain a Windows 10 and MacOs deploiement.

Compilation

You can compile the software using Qt >= 5.10.1, but you will need our "Core" library to run it properly.

Build the server

  • Get the repository content
git clone https://github.com/Nicolas-Constanty/Dnai.Editor.git
git submodule update --init --recursive
  • Open Dnai.Editor/Server/Server.pro with qt creator
  • Build->Run qmake
  • Build->Build All

Build the editor

  • Open Dnai.Editor/Gui/DNAI.pro with qt creator (Qt >= 5.10.1)
  • Build->Run qmake
  • Go to Projects->Build->Add Build step->Make
  • add "install" to the make argument

Main view screenshot

  • Build->Build All

Install dependencies

  • Our Core library sources remain private until it become more mature, so you can get it here.
  • Put binary files of the Server inside [YOUR BUILD DNAI FOLDER]/app you can find your build directory in the "Projects" tab on the left
  • Put binary files of the Core inside [YOUR BUILD DNAI FOLDER]/app/Core
  • Press Run on Qt

Documentation

We need to improve our actual documentation, but for now you can find a doxygen here.

Authors

Adrien Wery - Website API and Dnai.Editor (github)

Fernand Veyrier - Dnai.Core (virtual machine for compilation) and Unity3D Plugin (github)

Nicolas Constanty - Dnai.Editor and Website design (github)

Quentin Gasparoto - Dnai.Core (virtual machine for compilation) and Dnai.Editor (github)

Victor Gouet - Dnai.Server, Deploiement Windows/Mac and Dnai.Editor (github)

See also the list of contributors who participated in this project.

License

Licensed under the (L)GPL v2/3 License, with Qt Open source licence.

dnai.editor's People

Contributors

nicolas-constanty avatar gasparq avatar gouet avatar

Watchers

James Cloos 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.