|
|
||
|---|---|---|
| app_data | ||
| debian | ||
| docs | ||
| extensions/javascript | ||
| launcher | ||
| mosaicode | ||
| scripts | ||
| tests | ||
| COPYING | ||
| LICENSE | ||
| MANIFEST.in | ||
| Makefile | ||
| README.md | ||
| mosaicode.log | ||
| pyproject.toml | ||
| pytest.ini | ||
| setup.py | ||
README.md
Mosaicode
A Visual Programming Environment and source code generator for specific domains, focusing on Digital Art.
Getting Started
Getting a copy of the project up and running on your local machine. Supported Platform: GNU/Linux.
Prerequisites
Open the terminal (Ctrl+Alt+T) and run the following command to install the software dependencies:
sudo apt install python3 python3-gi python3-cairo python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev python3-dev build-essential pkg-config python3-pip python3-venv gcc libcairo2-dev python3-dev libgirepository-2.0-dev gir1.2-gtksource-3.0 cmake
Installation
Steps to install the Mosaicode in a virtual environment or in the operational system directory.
Virtual Environment / Isolated from system directories
Installing python virtual environment via terminal:
sudo apt install python3.8-venv
Setting the virtual environment:
- Create the environment:
python3 -m venv mosaicode - Active the environment:
source mosaicode/bin/activate - Install PyGObject:
python -m pip install PyGObject setuptools - Install Mosaicode:
python setup.py install
More details in the Python 3 Virtual Environments and Packages documentation: https://docs.python.org/3/tutorial/venv.html
Useful Makefile Commands
make help- Show all available commandsmake check_deps- Check if dependencies are properly installedmake run- Run Mosaicode in development modemake run_installed- Run installed Mosaicodemake test_normal- Run testsmake clean- Clean build files
Mosaicode Extensions
Some extensions that you can install to add visual programming languages with resources from areas of computing which allow the development of tools to support Digital Art in a simple and practical way: dragging and connecting blocks:
| Technology | Domain | Extension repository | Operating |
|---|---|---|---|
| Javascript / Web Audio API | Computer Music | https://github.com/Alice-ArtsLab/mosaicode-javascript-webaudio | Yes |
| C / OpenCV | Computer vision | https://github.com/Alice-ArtsLab/mosaicode-c-opencv | No |
| C / Opengl | Computer graphics | https://github.com/Alice-ArtsLab/mosaicode-c-opengl | No |
| Javascript / Canvas | Graphics on a web | https://github.com/Alice-ArtsLab/mosaicode-javascript-canvas | No |
| C / Linux-Joystick | USB Controller | https://github.com/Alice-ArtsLab/mosaicode-c-joystick | No |
| C / Gtk | GUI | https://github.com/Alice-ArtsLab/mosaicode-c-gtk | No |
| C / Portaudio | Computer Music | https://github.com/Alice-ArtsLab/mosaicode-c-sound | No |
Related pages
ALICE. Lab: https://alice.ufsj.edu.br/