Triangulo de Sierpinski

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

Applying the following algorithm yields the Sierpinski triangle, a self-similar fractal.


1. Take three vertices of a triangle.

2. Choose an arbitrary position inside the triangle for a wandering point.

3. Choose a random vertex and move the wandering point halfway toward it.

4. Repeat step 3.

La aplicación del siguiente algoritmo produce el triángulo de Sierpinski, un fractal de la misma figura.

1. Tomar tres vértices de un triángulo.

2. Se debe elegir una posición arbitraria dentro del triángulo para un punto errante.

3. Se debe escoger un vértice de manera aleatoria y mover el punto errante hacia la mitad del mismo.

4. Repetir el paso 3.


Contributed by: Rizzolo Sergio (December 2012)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.