SVC VR: Block Time History
📜 Parent: ​+SVC Cosmos VR: Project Overview​ 
🧠 Status: Concept

Vision

The vision for this piece comes from a widget from the big_dipper project in which it shows a simple line chart on the front page which indicates a short history of the average time it takes to validate a block on the network. Trying to imagine what a line chart might look like in 3D space rather than 2D.

Current Design Concept

While this is the current concept, I have revisions in mind based on something I came across recently (but can’t seem to find, when I do I’ll add it here).

Inspiration

  • big_dipper chart of block time history

Technical Requirements

We’ll need to figure out what data is available around this. Our middleware isn’t currently doing any caching, but if the Cosmos API has any sort of historic data regarding block time history, that would be a good place to start, even if it’s something like the last 15 averages or something.

For plotting the line graph we could go a couple of different ways:
  1. We could implement some sort of dynamic meshing that would allow us to plot points.
  1. Pros: future usability of a generic system for dynamic meshes
  1. Cons: most costly approach (in terms of time/money to implement)
  1. We could control a static series of connected points (spheres or small planes) and only control their placement in relation to the overall graph based on the data retrieved.
  1. Pros: could be less costly than option 1
  1. Cons: may run into some limitations that we’re not yet seeing
  1. We could generate simple images of the graphs within the node.js middleware and then just display them
  1. Pros: probably the easiest and most efficient to generate and display as textures
  1. Cons: not as flexible, requires more work in the middleware than we’re currently doing

Technical Tasks

Design


Middleware

  • any of the above approaches will need a new endpoint in the middleware which retrieves this data (probably have Stanislav implement this one)

Neos


Updates

Coffee worked on a line graph component in Neos that can animate. This shows the working example. Now it just needs hooked up to the data from the middleware.