Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/JanCVanB/roc-plotters

🦅 📊 Roc platform for drawing with Plotters
https://github.com/JanCVanB/roc-plotters

platform plotters roclang rust visualization

Last synced: 3 months ago
JSON representation

🦅 📊 Roc platform for drawing with Plotters

Awesome Lists containing this project

README

        

# Roc platform for drawing with Plotters

[Roc](https://roc-lang.org/)
+
[Plotters](https://github.com/38/plotters)
= <3

![example graph of sine & cosine lines](./examples/math.svg)
![example drawing of line-based shapes like rectangle, triangle, and plus sign](./examples/shapes.jpg)
![example scatterplot of pseudo-random points](./examples/scatter.png)

## How to example

1. Set up a Roc environment

```sh
nix-shell ./roc/shell.nix
```

1. Build Roc

```sh
./scripts/for-roc/build.sh
```

1. Build & run an example

```sh
./scripts/for-examples/build_and_run.sh hello_world
```