d3.js - D3: Timeline with smooth curves and varying thickness -
i working on experimental audio player interface. have multiple timelines (in example, two). fragments of these timelines form new combined timeline.
the coordinates of points a–h given. looking for:
- how create shape smooth curves when "floor" (as in floor in builing) changes normal timeline combined timeline? (the curve between , b, vor example.
- can d3 me in creating shapes varying thickness (thinner on normal timelines, thicker on combined timelines)? instance, there helper can pass single path , data on thickness @ each point , creates shape it?
this can reproduced area generator, don't pass thickness set y0
bottom line y - thickness
. smoothness can produced using spline or monotone interpolation.
Comments
Post a Comment