IanYet / force-sim

force simulator for graph layout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

force-sim

force simulator for graph layout

todo plan

  • implement viewer by threejs

    • initialize three
    • generate mock data
    • show vertices with pointscloud
    • show edges with line2
    • update points and line2
  • implement simulator powered by cpu

    • initialize vertices layout
  • implement simulator powered by gpu

    • readBuffer() in WebGPU
    • gl.getBufferSubData() in WebGL2

About

force simulator for graph layout

License:MIT License


Languages

Language:TypeScript 94.5%Language:GLSL 3.0%Language:HTML 2.3%Language:CSS 0.1%