Pulga Attractors Force

https://github.com/nortikin/sverchok/assets/14288520/969228cd-c56d-4d47-8d13-a37b31319285

Functionality

https://github.com/nortikin/sverchok/assets/14288520/4980768f-580e-4220-8575-73c8f5c8611d

This node creates a force to be applied with the Pulga Physics Solver node.

Mode

Offers three different modes Point, Line and Plane with different Input sets

Point

Points that will Attract/Repel the system particles (vertices)

https://github.com/nortikin/sverchok/assets/14288520/06975305-e41f-4fa1-a13c-e5dfc4bb0928

Point Inputs

  • Location: Position of the attractor points.

  • Max. Distance: Distance under the force will be applied.

  • Decay: How the force will decay with distance. 0= no decay, 1= linear, 2= cubic, 4= quadratic…

Line

Lines that will Attract/Repel the system particles (vertices)

https://github.com/nortikin/sverchok/assets/14288520/b6e13955-eb1c-4589-a3b2-2db0737b5f97

Line Inputs

  • Location: A point on the Line.

  • Direction: Direction of the Line.

  • Max. Distance: Distance under the force will be applied.

  • Decay: How the force will decay with distance. 0= no decay, 1= linear, 2= cubic, 4= quadratic…

Plane

Plane that will Attract/Repel the system particles (vertices)

https://github.com/nortikin/sverchok/assets/14288520/907216e2-d9c9-41d5-890c-1f43743dc4dc

Plane Inputs

  • Location: A point on the Line.

  • Normal: Normal of the Plane.

  • Max. Distance: Distance under the force will be applied.

  • Decay: How the force will decay with distance. 0= no decay, 1= linear, 2= cubic, 4= quadratic…

Examples

Trajectories of vertices repelled by vertice in zero coords:

https://github.com/nortikin/sverchok/assets/14288520/e8199160-7bc8-4ffa-982a-cb8cfc0eee9d

Trajectories of vertices repelled by 5 locations:

https://github.com/nortikin/sverchok/assets/14288520/1d51f0c2-ab86-4d67-9904-eafdf6e7500a

Trajectories of vertices attracted by three locations:

https://github.com/nortikin/sverchok/assets/14288520/0fa1ce67-39b4-47f8-98c5-2a560d84f385