Coder Social home page Coder Social logo

vector-viz-sdl's Introduction

Turbulent Dynamics

Vector Viz SDL: A utility by Turbulent Dynamics to view a grid of vectors

This utility is built to display vectors from a large grid, (eg 27 billion). The simulation to create the grid is decomposed across a number of nodes, each with an x, y and z coordinate. The resulting files are dumped into a directory "dirname/node.x.y.z.vvf" It would be difficult and pointless to display all the vectors so the output is normally a plane, or slice through the vector space, or a number of each. The input file example shows the various ways to input the data.

3d picture here.

Usage Instructions

  • To move around, use the mouse, mouse buttons and cursor keys. Use the cursor keys to center the screen on the point of interest, and then zoom in with left mouse button. Rotate the camera around the point of interest to make the 3D effect more easily perceptible.

  • The numpad keys 5,8,4,6 can be used to move camera more steadily. Use the Numpad 4/6 keys to rotate around the point of interest, and Numpad 5/8 to zoom in/out slowly.

  • Numpad 0 will move the point of interest back to the center of the grid.

  • PrintScreen key will capture the screenshot in a .bmp file.

  • w / s to chance brightness

  • a / d to change line length

  • 'm' to toggle auto adjust (auto adjust will adjust line length and brightness based on camera distance)

  • keys 'o' and 'p' change dot density (the changes are logarithmic). Dot density functions approximately as a quality parameter. However, a low dot density can also provide an interesting look on the input data (even more when line length is increased). Lower dot density requires much lower GPU processing power. Higher dot densities may cause FPS to fall. Also, at some point, there will not be enough GPU memory for additional dots.

  • space key will pause the visualization

  • ESC key to exit

Install SDL 2 Instructions

MacOS Ubuntu Linux

vector-viz-sdl's People

Contributors

ben8823 avatar niallobroin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.