Published
Edited
Sep 4, 2019
1 fork
Importers
27 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof cstrenght = slider({
title:"Strenght",
min: 0,
max: 1,
step: .1,
value: .7,
description: "Default .7, see docs"
})
Insert cell
viewof citeration = text({title: "Iteration for the collide",
placeholder: "Default 1",
description: "Reduce overlap for great value but has a computation cost"
});
Insert cell
viewof cradius = slider({
title:"Radius",
min: .1,
max: 10,
step: .1,
value: 1,
description: "Default 1, node collusion radius"
})
Insert cell
Insert cell
viewof centery = slider({
min: -height/2,
max: height,
step: 1,
value: 0,
description: "Y center coordinate"
})
Insert cell
viewof centerx = slider({
min: -width/2,
max: width,
step: 1,
value: 0,
description: "X center coordinate"
})
Insert cell
Insert cell
viewof velocityDecay = text({title: "Velocity decay",
placeholder: ".4",
description: "kind of atomspheric friction each node’s velocity is multiplied by 1 - decay"
});
Insert cell
viewof alphaDecay = text({title: "Alpha decay",
placeholder: "0.0228… = 1 - pow(0.001, 1 / 300) where 0.001",
description: "\in [0;1]"
});
Insert cell
viewof alpha = text({title: "Alpha",
placeholder: "Default 1",
description: "\in [0;1]"
});
Insert cell
viewof alphaTarget = text({title: "Alpha target",
placeholder: "Default 0",
description: "\in [0;1]"
});
Insert cell
Insert cell
viewof mdistanceMax = slider({
min: mdistanceMin,
max: 1000,
step: 10,
value: 100,
description: "distanceMax, default infinity"
})
Insert cell
viewof mstrength = slider({
min: -100,
max: 100,
step: .01,
value: -30,
description: "Strength for Many or Charge (default -30)"
})
Insert cell
viewof mdistanceMin = slider({
min: 0,
max: 50,
step: .1,
value: 1,
description: "distanceMin (default 1)"
})
Insert cell
Insert cell
viewof fPosAy = slider({
min: -100,
max: +100,
step: 1,
value: 0,
description: "nodes' y positions"
})
Insert cell
viewof fPosAx = slider({
min: -100,
max: +100,
step: 1,
value: 0,
description: "nodes' x positions"
})
Insert cell
viewof fPosStrengthY = slider({
min: -.1, // se repousse
max: 2,
step: .01,
value: .1,
description: "y force's strength"
})
Insert cell
viewof fPosStrengthX = slider({
min: -.1,
max: 2,
step: .01,
value: .1,
description: "x force's strength"
})
Insert cell
viewof fposy = slider({
min: -height/2,
max: height/2,
step: 1,
value: 0,
description: "y position"
})
Insert cell
viewof fposx = slider({
min: -width/2,
max: +width/2,
step: 1,
value: 0,
description: "x Position"
})
Insert cell
Insert cell
viewof flinkDistance = slider({
min: 0,
max: 100,
step: 1,
value: 30,
description: "Link distance"
})
Insert cell
viewof flinkstrength = select({
title: "strength",
description: "Select a way to compute the link's strenght",
options: ["default", "null", "inverse1","inverse2", "inverse3" ],
value: "default"
})
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more