Jump to content

File:Tetrix projection fill plane.gif

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

Tetrix_projection_fill_plane.gif (256 × 256 pixels, file size: 291 KB, MIME type: image/gif, looped, 30 frames, 6.8 s)

Summary

Description
English: GIF animation showing how an orthographic projection of a level-4 tetrix can exactly fill a plane.
Source Own work
Author Cmglee
Other versions
File:Tetrix projection fill plane.png
tetrix_projection_fill_plane.png
tetrix_projection_fill_plane.svg

POV-Ray source code

tetrix_projection_fill_plane.pov tetrix_projection_fill_plane.ini
#declare CLOCK = 1 - cos(clock * pi / 2);
#declare VERTEX0 = <0,0,0>;
#declare VERTEX1 = <0,1,1>;
#declare VERTEX2 = <1,0,1>;
#declare VERTEX3 = <1,1,0>;
#declare LEVEL0 =
 union {
  triangle { VERTEX0, VERTEX1, VERTEX2 }
  triangle { VERTEX0, VERTEX1, VERTEX3 }
  triangle { VERTEX2, VERTEX3, VERTEX0 }
  triangle { VERTEX2, VERTEX3, VERTEX1 }
  no_shadow
 }
#declare LEVEL1 =
 union {
  object { LEVEL0 }
  object { LEVEL0 translate <0,1,1> }
  object { LEVEL0 translate <1,0,1> }
  object { LEVEL0 translate <1,1,0> }
  scale <0.5,0.5,0.5>
 }
#declare LEVEL2 =
 union {
  object { LEVEL1 }
  object { LEVEL1 translate <0,1,1> }
  object { LEVEL1 translate <1,0,1> }
  object { LEVEL1 translate <1,1,0> }
  scale <0.5,0.5,0.5>
 }

union {
 union {
  object { LEVEL2 pigment { rgb <1.0,0.0,0.0> } translate <1,1,0> }
  object { LEVEL2 pigment { rgb <1.0,0.0,0.4> } translate <0,1,1> }
  object { LEVEL2 pigment { rgb <0.8,0.4,0.0> } translate <0,0,0> }
  object { LEVEL2 pigment { rgb <0.8,0.3,0.4> } translate <1,0,1> }
  scale     <0.5,0.5,0.5>
  translate <1,1,0>
 }
 union {
  object { LEVEL2 pigment { rgb <1.0,0.0,0.7> } translate <1,1,0> }
  object { LEVEL2 pigment { rgb <1.0,0.0,1.0> } translate <0,1,1> }
  object { LEVEL2 pigment { rgb <0.7,0.3,0.7> } translate <0,0,0> }
  object { LEVEL2 pigment { rgb <0.7,0.2,1.0> } translate <1,0,1> }
  scale     <0.5,0.5,0.5>
  translate <0,1,1>
 }
 union {
  object { LEVEL2 pigment { rgb <0.7,0.6,0.0> } translate <1,1,0> }
  object { LEVEL2 pigment { rgb <0.6,0.5,0.4> } translate <0,1,1> }
  object { LEVEL2 pigment { rgb <0.0,0.7,0.0> } translate <0,0,0> }
  object { LEVEL2 pigment { rgb <0.0,0.6,0.4> } translate <1,0,1> }
  scale     <0.5,0.5,0.5>
  translate <0,0,0>
 }
 union {
  object { LEVEL2 pigment { rgb <0.5,0.4,0.7> } translate <1,1,0> }
  object { LEVEL2 pigment { rgb <0.4,0.3,1.0> } translate <0,1,1> }
  object { LEVEL2 pigment { rgb <0.0,0.5,0.7> } translate <0,0,0> }
  object { LEVEL2 pigment { rgb <0.0,0.4,1.0> } translate <1,0,1> }
  scale     <0.5,0.5,0.5>
  translate <1,0,1>
 }
 translate <-1,-1,-1>
 rotate    <CLOCK*-90,CLOCK*-135,0>
}

background { color 1 }
camera {
 orthographic
 right x * image_width / image_height
 location <8,0,0>
 look_at  <0,0,0>
 angle    23.5
}
light_source { <1,0,0> color 1 parallel }
light_source { <1,1,1> color 2 parallel }
Antialias=On
Antialias_Threshold=0.1
Antialias_Depth=4

Input_File_Name="tetrix_projection_fill_plane.pov"

Initial_Frame=0
Initial_Clock=0
Final_Frame=15
Final_Clock=1

Cyclic_Animation=off
Pause_when_Done=off

Debug_File=on

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International 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.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.
 
This image was created with POV-Ray.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

File history

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

Date/TimeThumbnailDimensionsUserComment
current12:34, 19 April 2017Thumbnail for version as of 12:34, 19 April 2017256 × 256 (291 KB)Cmglee{{Information |Description ={{en|1=GIF animation showing how an orthographic projection of a level-4 tetrix can exactly fill a plane. }} |Source ={{own}} |Author =Cmglee |Date = |Permission = |other_vers...

The following 2 pages use this file:

Global file usage

The following other wikis use this file: