File:RandomPoints.gif

From RationalWiki
Jump to navigation Jump to search

RandomPoints.gif(400 × 400 pixels, file size: 1.23 MB, MIME type: image/gif, looped, 100 frames, 2 min 0 s)

Note: Due to technical limitations, thumbnails of high resolution GIF images such as this one will not be animated.

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

Description
English: Randomly generated points plotted in a unit square illustrate the "Clustering Illusion."

This Mathematical image was created with Mathematica.

Source Code:
tinyColor[color_, point_] := {PointSize[Small], color, Point[point]}
colorChoose[point_] := tinyColor[Blue, point]

Clear[r, n];
r = 100;
n = r^2;
darts = RandomReal[{0, 1}, {n, 2}];
coloredDarts = ParallelMap[colorChoose, darts];

Export[][][][darts, 1 ;; max], AspectRatio -> 1, 
   PlotStyle -> {PointSize[Small], Blue}, 
   PlotRange -> {{0, 1}, {0, 1}}, 
   PlotLabel -> TraditionalForm[max "Random Points"], Frame -> True, 
   ImageSize -> {400, 400}], {max, 100, Length[darts]/10}], 
 "DisplayDurations" -> ConstantArray[1, 9]~Join~{3}]
Date
Source Own work
Author CaitlinJo
Other versions
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

- Attribution 3.0

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

13 July 2013

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current02:53, 15 July 2013Thumbnail for version as of 02:53, 15 July 2013400 × 400 (1.23 MB)CaitlinJoReverted to version as of 17:51, 14 July 2013

The following page uses this file:

Metadata