Wednesday, March 28, 2012

GH: POINT ATTRACT / REPEL

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
GRASSHOPPER POINT ATTRACT / REPEL


This definition gives attraction or repulsion forces to points and can switch between the two

LOGIC
1. Measure the distance between source points and attraction / repulsion points
2. Manipulate the strength and coverage area of the forces
3. Create a switch to choose between attraction or repulsion forces
4. Use the data to control some variable (scale, height, movement, rotation, ect)  

GH Version
0.8.0066

Tip
Attraction and repulsion based on distance are a major concept of associative modeling.
Variations in the "strength & coverage" mathematics such as adding sin functions, 
multiplications, or other functions can make the attractor / repeller have new and interesting results.
Do not forget, the results of attractors / repellers can be used to control virtually anything, here we 
control radius of a circle, try it for many things. 











Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

No comments:

Post a Comment