File:Blancmange.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file(SVG file, nominally 600 × 400 pixels, file size: 103 KB)

Summary

Description
English: The Blancmange curve is a fractal curve defined by an infinite series. This specific plot adds only the first twelve terms in that series, which produces a result that is indistinguishable (by eye) from the true curve. This file was created using my own Python code.
Date
Source Own work
Author Alden Bradford

The following Python code produces the y-coordinates used:

   import numpy as np
   def blanc_iter(arr):
       bumplength = 1/(arr.size-1)
       means = (arr[1:]+arr[:-1])/2
       newheights = means + bumplength
       out = np.empty(arr.size+newheights.size)
       out[::2] = arr
       out[1::2] = newheights
       return out
   def blanc_gen():
       blanc = np.array([0,0])
       while True:
           yield blanc
           blanc = blanc_iter(blanc)

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

This is a plot of the 12th iteration of the Blancmange curve.

Items portrayed in this file

depicts

20 November 2020

image/svg+xml

2a289edc6c15529bfeea1930cfcfc3b51864e515

105,289 byte

400 pixel

600 pixel

File history

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

Date/TimeThumbnailDimensionsUserComment
current21:16, 20 November 2020Thumbnail for version as of 21:16, 20 November 2020600 × 400 (103 KB)AldenMBspecified the xmlns
20:57, 20 November 2020No thumbnail0 × 0 (119 KB)AldenMBUploaded own work with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

Metadata