# distance function

## distance function video 36

Tue, 2016-06-21 15:44

Another in my series of distance function videos.

## distance function video 33

Fri, 2015-06-12 22:21

Another distance function video. Made with processing.org.

Click to embiggen and get more information on Vimeo.

## distance function video

Sun, 2014-01-26 20:00

A new distance function video, this time in color.

Click to the title to see much larger on Vimeo, with description.

## distance function video

Tue, 2014-01-21 16:41

Click the blue title to see it bigger, with explanation, on Vimeo.

## distance function video: Lp distance, variable p, minimal difference from ordered set of distances

Mon, 2013-04-01 22:32

10 particles move linearly at constant, random speeds, bouncing off the frame edges. For each pixel, calculate the Lp distance from the pixel to each particle, where p varies smoothly and monotonically from 1 at the start of the video to 10 at the end. Order this set of distances: d0, d1, d2, ... . Calculate the differences d1-d0, d2-d1, etc. Color the pixel a gray which is an increasing function of the smallest difference.

Made with Processing (processing.org).

Click to embiggen.

## distance function: L1 distance, difference of the differences between two smallest pairs of distances

Sun, 2013-03-31 19:29

180 particles move linearly at various constant speeds, in randomly chosen directions. For each pixel, determine the set of distances from the pixel to each particle. Sort this set: say the result is d0,d1,d2,... in order. Then let k=(d2-d1)-(d1-d0). Color the pixel based on an increasing function of k.

Made with processing (processing.org).

Click through for bigger on Vimeo.

## distance function video - minimum distance greater than sum of smallest two distances

Sun, 2013-03-31 19:25

New distance function video.

Thirty particles move linearly at various constant speeds, in randomly chosen directions. For each pixel, determine the set of distances from the pixel to each particle. Sort this set. Find the smallest distance in that set which is greater than the sum of the two smallest distances. Color the pixel a grey color determined by a non-decreasing function of distance.

Made with Processing ( processing.org ).

Click through to embiggen.

## distance function video - repeated difference 01 HD version

Thu, 2012-12-06 17:36

I made this new, higher resolution version of one of my favorite videos. I am still surprised and mystified by the complexity in it.

Click to embiggen on Vimeo.