MIT

Grid attractors

Ella Peinovich

grid attractors TOOL :

The script distorts a uniform grid of points around chosen focal points. The script prompts user input of a grid size, multiple focal points, and the degree of distortion around the focal points.

Below : See examples of uniform focal points.

Pseudo Code:

  • ‘ask user for size of grid
  • ‘create grid
  • ‘ask user to identify focal points on grid
  • ask user to create a degree of distortion at each focal point
  • ‘determine vector movement of each point on grid to each focal point
  • ‘move vector from origin to the sum of the x and y vector movements of each point
  • ‘hide point object at origin

Code:

TOOL_grid attractors

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: