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?

enter image description here

this can reproduced area generator, don't pass thickness set y0 bottom line y - thickness. smoothness can produced using spline or monotone interpolation.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -