# Law of Proximity

Objects that are close to each other are perceived as a group.

### Law of Clousure and Multistable Perception in a grid

P5.js, Law of Proximity, Law of Multistable Perception, grid

This sample shows a dynamic grid, that changes the width and height of itself.

### Proximity through distance

P5.js, chance, proximity, Law of Proximity

This creates random proximities between ellipses.

### Distance

Basil.js, chance, repeat, Law of Proximity, Law of Connected Elements

Calculate the distance between two points and draw a line if they are in reach. Also an example for the "Law of Proximity"

### Connect

Basil.js, chance, repeat, Law of Proximity, Law of Connected Elements

Calculate the distance between two points and draw a line if they are in reach. Similar to the sketch Distance. Also an example for the "Law of Proximity"

### colorblock

P5.js, color, Law of Proximity

Creating proximity through monochromatic colors.

processing, 2D, form, Law of Similarity, repeat, chance, Law of Prägnanz, Law of Proximity

Topolade is a sketch created by Jonas Köpfer in the seminar Eingabe/Ausgabe.

### Proximity

processing, 2D, form, Law of Proximity, repeat

A classic example for the "Law of Proximity".