File:Animated-Flag-Sweden-OpenSCAD.gif

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

Original file(735 × 779 pixels, file size: 349 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-Sweden-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-10,0,0])
cube([40,1,2],true);


a1 = "#005BAE";
a2 = "#FFC301";
a3 = a1;

b1 = a2;
b2 = a2;
b3 = b1;

c1 = a1;
c2 = a2;
c3 = a1;

for (i = [0:1:5*2]){
    translate([sin($t*360+i*5)*2-6,i,0])
    color(a1)
    cube([4*2,1,1],true);
    translate([sin($t*360+i*5)*2+0,i,0])
    color(b1)
    cube([2*2,1,1],true);    
    translate([sin($t*360+i*5)*2+6,i,0])
    color(c1)
    cube([4*2,1,1],true);      
}

for (i = [5*2:1:5*2+2*2]){
    translate([sin($t*360+i*5)*2-6,i,0])
    color(a2)
    cube([4*2,1,1],true);
    translate([sin($t*360+i*5)*2+0,i,0])
    color(b2)
    cube([2*2,1,1],true);    
    translate([sin($t*360+i*5)*2+6,i,0])
    color(c2)
    cube([4*2,1,1],true);   
}

for (i = [5*2+2*2:1:5*2+2*2+9*2]){
    translate([sin($t*360+i*5)*2-6,i,0])
    color(a3)
    cube([4*2,1,1],true);
    translate([sin($t*360+i*5)*2+0,i,0])
    color(b3)
    cube([2*2,1,1],true);    
    translate([sin($t*360+i*5)*2+6,i,0])
    color(c3)
    cube([4*2,1,1],true);   
}

File history

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

Date/TimeThumbnailDimensionsUserComment
current05:39, 7 June 2020Thumbnail for version as of 05:39, 7 June 2020735 × 779 (349 KB)MichaelFrey (talk | contribs)== {{int:filedesc}} == {{Information |description={{en|1=Animated-Flag-Sweden-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-10,0,0]) cube([40,1,2],true); a1 = "#005BAE"; a2 = "#FFC301"; a3 = a1; b1 = a2; b2 = a2; b3 = b1; c1 = a1; c2 = a2; c3 = a1; for (i = [0:1:5*2]){ translate([sin($t*360+i*5)*2-6,...

The following page uses this file:

File usage on other wikis

The following other wikis use this file: