Skip to content

blue-pitaya/scala-d3-force

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

d3-force library rewritten to scala

This module implements simulation of physical forces on particles just like in d3-force library. This lib only implenets numerical operations, so no HTML rendering is included. Also there might be some small changes/extensions in comparison to original lib, but overall functionality should be the same.

d3-force

Work in progress, but many things have been already implemented.

Instalation

For scala 2.13

libraryDependencies += "dev.bluepitaya" %% "scala-d3-force" % "0.1"

For scala.js

libraryDependencies += "dev.bluepitaya" %%% "scala-d3-force" % "0.1"

Todo

  • Collision
  • Radial force
  • Link force id and iterations methods

To run example

sbt "project example" "clean" "fullLinkJS"
cd example/ui
yarn
yarn dev

About

d3-force logic rewritten to scala

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published