dvmorozov/arxiv

Node color intensity should display rate of adding new articles to the topic

Closed this issue · 0 comments

Solution

  1. Modify Python-script to compute A * exp(-1 * (now - publish_time)) for articles in the topic list.
  2. Set up node opacity according to the value. Variable opacity looks more interesting than color intensity. Moreover, groups have fixed colors. In the case of variable intensity, the color should be computed by script.

Alternative

  1. Do opacity computing on JavaScript-side. This will utilize actual client time.

Predecessor

#74

Reference

https://www.geeksforgeeks.org/d3-js-color-opacity/