Log geometric data to the browser console.
npm i visual-log
id(newId: string)
the following objects will be added to the image with the idnewId
color(newColor: string)
the following objects will be of colornewColor
arrow(from: Vec3, to: Vec3)
add an arrow to the current imagelineSegment(from: Vec3, to: Vec3)
add a line segment to the current image
import * as vlog from "visual-log";
vlog.arrow([0, 0, 0], [3, 0, 3]);
vlog.lineSegment([1, 0, 0], [4, 0, 1]);
This outputs the following image to the console: