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).
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:
We could implement some sort of dynamic meshing that would allow us to plot points.
Pros: future usability of a generic system for dynamic meshes
Cons: most costly approach(in terms of time/money to implement)
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.
Pros: could be less costly than option 1
Cons: may run into some limitations that we’re not yet seeing
We could generate simple images of the graphs within the node.js middleware and then just display them
Pros: probably the easiest and most efficient to generate and display as textures
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)
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.
Vision
Current Design Concept
Inspiration
Technical Requirements
Technical Tasks
Design
Middleware
Neos
Updates