Skip to content

Instantly share code, notes, and snippets.

@phase
phase / animint.js
Created November 9, 2022 23:48
AUM and intersections
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
Running line intersection with 347 lines.
starting with intersection point: high line=13 low line=14 x=3.50007 y=-20.633
starting with intersection point: high line=19 low line=20 x=2.37283 y=-14.2739
starting with intersection point: high line=36 low line=37 x=2.99357 y=-20.8263
starting with intersection point: high line=49 low line=50 x=4.27096 y=-7.29872
starting with intersection point: high line=57 low line=56 x=0.167473 y=-17.9679
starting with intersection point: high line=61 low line=62 x=1.48269 y=-15.4617
starting with intersection point: high line=70 low line=71 x=1.39512 y=-17.1902
starting with intersection point: high line=82 low line=83 x=3.6291 y=-19.7445
starting with intersection point: high line=92 low line=93 x=4.77405 y=-20.9776
@phase
phase / animint.js
Created October 3, 2022 03:55
AUM and intersections
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@phase
phase / animint.js
Created September 29, 2022 18:23
AUM and intersections
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@phase
phase / animint.js
Created September 29, 2022 17:52
AUM and intersections
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@phase
phase / animint.js
Created September 22, 2022 17:10
AUM and intersections
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@phase
phase / animint.js
Created September 22, 2022 17:08
AUM and intersections
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@phase
phase / animint.js
Created September 22, 2022 17:04
AUM and intersections
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@phase
phase / animint.js
Created September 21, 2022 21:59
AUM and intersections
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@phase
phase / animint.js
Created September 21, 2022 20:12
AUM and intersections
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments