Visualization

From Hegemon Wiki
Revision as of 03:11, 4 March 2017 by H3g3m0n (talk | contribs)
Jump to navigation Jump to search
  • Probably in Rust.
  • Reactive/functional.
    • When Data is changed the graph gets updated.
    • Instead of data, can plot can be defined by a function that changes at runtime. Data is really just a mapping function anyway.
    • Pub/sub? Channels?
    • Can I put in a fixed value without having to manually wrap it?
      • Rust generics?
    • What about passing things up the hierarchy? ie, graph size changes, the axis size need to change too...
    • Can the number of dimensions change?
    • What about animating the changes (interpolation function between old and new)? Animation itself can be a function. How fast? Linear, quadratic? 'Fade' vs more elaborate things like 'morphing' eg a scatter plots that moves the dots, or text that changes?
    • Wouldn't just be for fixed data, could be interpolating between 2 functions while they are still being updated.
  • Basic things like the Axis themselves can be functions.
    • Axis size/position.
    • Number of 'nodes' that show numbers and such. Mark a point every 10? Split up based on the length and put a point every 1/5th. Function to generate text? Function that defines points?
  • 2D and 3D?
    • What happens to a 2D graph in 3D space. A bar chart could be flat or have thickness. A function could become a surface.
  • How to deal with data that defines the plot points, vs plot points based on graph.
    • For example a scatter plot vs pixel plot of a continuous function.
    • A continuous function could wrap a scatter plot style one, but it would be a pain
      • Would have to define circle points as a formula across the data.
      • Would loose metadata about the points.
      • Would be very inefficient as you would have to scan across the whole plotting canvas.
  • What about allowing data to be modified by dragging points on the graph around?
  • Non-square graphs
    • eg, Polar graphs