This algorithm returns the points that form an orthogonal path between two rectangles.
// Define shapes
const shapeA = {left: 50, top: 50, width: 100, height: 100};
const shapeB = {left: 200, top: 200, width: 50, height: 100};
#!/bin/bash | |
### | |
# A Script that automatically recompiles your | |
# Latex in the background on Mac OS X. | |
### | |
# Options | |
BIN_PATH=/usr/texbin | |
FILE=main | |
WATCH_FILE=chapters |
#!/usr/bin/env bash | |
echo "Installing Language Tool server using brew" && | |
brew install languagetool && | |
echo "Starting Language Tool Service" && | |
brew services start languagetool | |
# install the browser extension from: https://languagetool.org/#firefox_chrome | |
# Go to extension options > advanced > LanguageTool server > Select "Local server (localhost) - requires LanguageTool server running locally" |
This algorithm returns the points that form an orthogonal path between two rectangles.
// Define shapes
const shapeA = {left: 50, top: 50, width: 100, height: 100};
const shapeB = {left: 200, top: 200, width: 50, height: 100};