File:Reutersvärd’s triangle.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Original file(SVG file, nominally 325 × 282 pixels, file size: 13 KB)

Summary[edit]

Description
English: Oscar Reutersvärd’s optical illusion (1934)
Date
Source Own work
Author László Németh
SVG development
LibreOffice icon 3.3.1 48 px.svg
This vector image was created with LibreOffice.

Python

Source code (the final picture needs a little manual modification, changing the overlapping of the two bottom tiles of the cube over the left bottom cube)

 ; Created in LibreOffice 4.2 with this LibreLogo program
 ; Usage: Put this code into an English language document in LibO Writer,
 ; and click on the Start icon of the View»Toolbars»Logo toolbar.
 
 TO tile
 LEFT 60
 REPEAT 2 [
     FORWARD 40 RIGHT 120 FORWARD 40 RIGHT 60
 ] FILL RIGHT 60
 END
 
 TO cube
 d = HEADING
 HEADING 30
 colors = [GOLD, TEAL, TOMATO]
 REPEAT 3 [ 
     PENCOLOR colors[REPCOUNT-1]
     FILLCOLOR colors[REPCOUNT-1]
     tile
     RIGHT 120
 ]
 HEADING d
 END
 
 PICTURE Reutersvärd triangle.svg [
 HIDETURTLE PENSIZE 0.1 RIGHT 30
 REPEAT 3 [
     REPEAT 3 [
         PENUP FORWARD 60 PENDOWN
         cube
     ]
     RIGHT 120
 ]
 ]

Licensing[edit]

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 his or her 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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current08:31, 27 May 2014Thumbnail for version as of 08:31, 27 May 2014325 × 282 (13 KB)Nl74 (talk | contribs)fix SVG validity
08:56, 19 May 2014Thumbnail for version as of 08:56, 19 May 2014325 × 282 (16 KB)Nl74 (talk | contribs)User created page with UploadWizard
  • You cannot overwrite this file.

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata