comparison web/timeline/viewstate.ts @ 2439:06da5db2fafe

rewrite ascoltami to use the graph for more playback data
author drewp@bigasterisk.com
date Thu, 30 May 2024 01:08:07 -0700
parents 4556eebe5d73
children
comparison
equal deleted inserted replaced
2438:f2b3cfcc23d3 2439:06da5db2fafe
1 import * as ko from "knockout";
2 import * as d3 from "d3"; 1 import * as d3 from "d3";
3 import debug from "debug"; 2 import debug from "debug";
3 import * as ko from "knockout";
4
5 import Sylvester from "sylvester";
6 const $V = Sylvester.Vector.create;
4 7
5 const log = debug("viewstate"); 8 const log = debug("viewstate");
6 export class ViewState { 9 export class ViewState {
7 zoomSpec: { 10 zoomSpec: {
8 duration: ko.Observable<number>; // current song duration 11 duration: ko.Observable<number>; // current song duration