File:Animated-Flag-Thailand-OpenSCAD.gif

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(714 × 742 pixels, file size: 305 KB, MIME type: image/gif, looped, 72 frames, 7.2 s)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Animated-Flag-Thailand-OpenSCAD
Date
Source Own work
Author MichaelFrey

Licensing

[edit]
Public domain This work has been released into the public domain by its author, MichaelFrey. This applies worldwide.
In some countries this may not be legally possible; if so:
MichaelFrey grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Source

[edit]

color("brown") translate([sin($t*360)*2-5,0,0]) cube([42,1,2],true);

h = 30/3*2; c = [

   "#A51931",
   "#FFF",
   "#2D2A4A",
   "#2D2A4A",
   "#FFF",    
   "#A51931"

];


for (i = [0:1:30]){

   for(a=[0:1:len(c)-1]){
       translate([sin($t*360+i*5)*2+h/len(c)*a,i,0])
       color(c[a])
       cube([h/len(c),1,1],true);
   }

}

File history

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

Date/TimeThumbnailDimensionsUserComment
current10:49, 7 June 2020Thumbnail for version as of 10:49, 7 June 2020714 × 742 (305 KB)MichaelFrey (talk | contribs)== {{int:filedesc}} == {{Information |description={{en|1=Animated-Flag-Thailand-OpenSCAD}} |date=2020-06-07 |source={{own}} |author=MichaelFrey |permission= |other versions= }} =={{int:license-header}}== {{PD-author|MichaelFrey}} == Source == <code> color("brown") translate([sin($t*360)*2-5,0,0]) cube([42,1,2],true); h = 30/3*2; a1 = "#FFFFFF"; b1 = "#D4213D"; a2 = a1; b2 = b1; a3 = a1; b3 = b2; for (i = [0:1:10]){ translate([sin($t*360+i*5)*2+h/2*1,i,0]) c...

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: