cuinjune / purr-data

A graphical programming environment in a web browser
https://purrdata.glitch.me/
51 stars 3 forks source link

Purr Data

screenshot

Table of Contents

Overview

This document describes the work that was done under Google Summer of Code 2020 a.k.a. GSoC for organization Purr Data. The project idea was to make the native Purr Data run in a web browser by adding a WebAssembly target and HTML5 GUI framework.

Purr Data a.k.a. Pd-l2ork 2 is an improved version of Miller Puckette’s Pd.

Pd (Pure Data) is a graphical data-flow programming environment which is geared towards real-time interactive computer music and multimedia applications. It is a full-featured open-source alternative to its commercial sibling, Cycling74’s Max.

Purr Data serves the same purpose, but offers a new and much improved graphical user interface and includes many 3rd party plug-ins. Like Pd, it runs on Linux, macOS and Windows, and is open-source throughout.

The goal of this project is to make the graphical programming environment Purr Data run in a web browser so it can be more accessible to users.

You can try the latest version from https://purrdata.glitch.me/

Developers

Accomplished Milestones

Setup

Installing Dependencies (Linux)

sudo apt-get install git automake cmake fakeroot dpkg-dev libgconf-2-4

Installing Node.js (macOS, Linux)

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash

Installing/Activating Emscripten (macOS, Linux)

git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
git pull
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh
cd ..

Building Purr Data for Emscripten (macOS, Linux)

git clone https://git.purrdata.net/jwilkes/purr-data.git
cd purr-data
git checkout emscripten
make emscripten

Setting up the project (Windows)

Method 1

- git clone https://git.purrdata.net/jwilkes/purr-data.git
- cd purr-data
- run command npm install.
- Change directory to purr-data/emscripten/project/purr-data.
- run command npm run build.
- run command npm start.

Method 2

- Follow the steps given in the link inorder to install Ubuntu LTS (https://docs.microsoft.com/en-us/windows/wsl/) .
- Then follow the steps mentioned in above sections for Linux.

Running Purr Data in a web browser

Directory Structure

Future Work

Reporting Bugs

If you find any bugs, please let us know. You can contact using the mailing list or create an issue.