alphaTarget or simulation.alpha, this method can be used to “reheat” the simulation during interaction, such as when dragging a node, or to resume the ... ... <看更多>
Search
Search
alphaTarget or simulation.alpha, this method can be used to “reheat” the simulation during interaction, such as when dragging a node, or to resume the ... ... <看更多>
If target is specified, sets the current target alpha to the specified number in the range [0,1] and returns this simulation. If target is not specified, ... ... <看更多>
simulation.tick | Function. 入参: 无. 描述: 通过(alphaTarget - alpha) × alphaDecay 来调整仿真当前的alpha 值(根据公式可以推导出默认情况下第n 次tick 时alpha ... ... <看更多>