One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| let myCircle; | |
| function setup() { | |
| createCanvas(400, 400); | |
| background(0); | |
| // retrieve the x, y coords from the DB | |
| fetch('/circle', {method: 'GET'}) | |
| .then(function(response) { | |
| if(response.ok) return response.json(); | |
| throw new Error('Request failed.'); |
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 | |
| trap cleanup SIGINT SIGTERM ERR EXIT | |
| usage() { | |
| cat <<EOF |
| import axios, { AxiosRequestConfig } from 'axios'; | |
| (async () => { | |
| const config: AxiosRequestConfig = { | |
| get baseURL() { | |
| let baseURL = 'https://example.com'; | |
| // Select node here | |
| return baseURL; | |
| }, |
| /* | |
| VARIATIONS: | |
| Draw lines between all circles | |
| Draw lines between new circle and closest neighboor | |
| Move new circle to exactly touch closest neighboor | |
| Change fill or stroke depending on circle size | |
| Change overlap threshold (slight overlap ok / large margin) | |
| */ |