Git Product home page Git Product logo

bakoe / datacanvas Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 879 KB

A proof-of-concept, open-source, MIT-licensed web application for visual, interactive creation and editing of 2D, 2.5D and 3D data visualizations.

Home Page: https://datacanvas.dev

License: MIT License

HTML 0.15% CSS 0.24% TypeScript 88.34% GLSL 2.50% SCSS 2.69% Python 5.27% Shell 0.03% Dockerfile 0.79%
data-visualization dataflow-programming visual-programming webgl webgl2

datacanvas's People

Contributors

bakoe avatar scheibel avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

datacanvas's Issues

Decide on and potentially implement: Switch to proper outline rendering

Currently, a very naiive implementation of fake outlines is used for the cuboids in the WebGL scene, only based on individual faces' UV coordinates. This leads to visible artefacts in the rendering, including:

(a) Non-consistent line widths on non-uniformly sized objects
(b) A lack of outlines when objects intersect

image

If we decide to stick to NPR (non-photorealistic rendering), implement proper outlines, e.g., based on normal and depth G-Buffers and their respective querying in a lightweight post-processing pass.

Allow seeing available nodes and adding them to the flow

For instance, an additional pane or some kind of context menu could be used. Make sure that the interaction is clear on mobile devices as well.

UI/UX Ideas

  • Right-click/Long-press on flow editor background/WebGL scene background(?) → Context menu with (fuzzy) search and/or grouping of nodes into categories → Respective node get added to the scene
  • Additional pane with (fuzzy) search and/or grouping of nodes into categories → User clicks/taps or drag-and-drops such a node into the scene → Respective node get added to the scene
  • Clicking/tapping/dragging from a handle of an existing node → Creation of (empty) placeholder node (immediately visualized) → Selection of node type (of already created placeholder node)

Switch deployment from GitHub Pages to Vercel

Follow-up to #8

This will be necessary since GitHub Pages does not allow setting the relevant Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy headers necessary for sandboxed SharedArrayBuffer support.

Allow deleting nodes

Make sure that the interaction is clear on mobile devices as well, i.e., don't rely solely on a keyboard shortcut or a context menu entry.

Make dataset nodes multi-level, i.e., allow connecting whole dataset or individual columns

Currently, all columns of a dataset node produce one individual node anchor/handle – this makes the corresponding nodes appear very large on-screen and might lead to unnecessary complexity in some use-cases.

One idea to overcome these limitations is to show dataset nodes as “collapsed” by default, indicating their columns by something like 7 columns ↓ and offering one handle of the type Dataset by default (e.g., indicated by a square handle). On-demand, users could then expand the nodes internals, showing the respective columns (e.g., 7 columns) individually with one handle each (e.g., indicated by a default circle handle).

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.