User:Lenny222

From Wikimedia Commons, the free media repository

Jump to: navigation, search

Commons:Graphic Lab

Contents

[edit] Todo

[edit] New

[edit] Electro magentic wave

import graph3;
import three;
import settings;
outformat="pdf";
settings.render = 0;
settings.prc = false;

usepackage("fourier");
defaultpen(font("T1","fut\textfamilyextension","m","n"));


size(300, 300);

// Set the camera.
currentprojection=perspective(16,-8,4);

real x1(real x) {return x;}
real y1(real x) {return 0.0;}
real z1(real x) {return 2.0 * sin(x);}

real x2(real x) {return x;}
real y2(real x) {return -2.1 * sin(x);}
real z2(real x) {return 0.0;}


// Draw the axis.
draw((0,0,0)--(4pi+0.5,0,0),black,Arrow3);

// Draw the curves.
pen col1=blue+opacity(0.5);
path3 c1 = graph(x1,y1,z1,0.0,4pi);
//draw(surface(c1--cycle),col1,invisible);
draw(c1--cycle,col1);

pen col2=red+opacity(0.5);
path3 c2 = graph(x2,y2,z2,0.0,4pi);
//draw(surface(c2--cycle),col2,invisible);
draw(c2--cycle,col2);

// Draw the curve arrows.
int numArrows = 26;
real delta = 4pi / numArrows;
for(int i=0; i < numArrows; ++i) {
  real x = i * delta;
  real y = y2(x);
  real z = z1(x);
  draw((x,0,0)--(x,0,z),col1,Arrow3);
  draw((x,0,0)--(x,y,0),col2,Arrow3);
}

// Draw the wave length meter.
real s = 0.5 * pi;
real e = 2.5 * pi;
real m = 1.5 * pi;
draw((s,0,2.2)--(e,0,2.2),black);
draw((s,0,2.1)--(s,0,2.3),black);
draw((e,0,2.1)--(e,0,2.3),black);
draw("$\lambda$",(m,0,2.5));

[edit] Improvements

[edit] Specific

[edit] General

[edit] Geology

[edit] Cleanup

  • search images for "graphivz" and "dot" which are not in "Category:Made with DOT" and check whether they should be in the category
  • search images for "pov ray", "pov-ray" and "pov" which are not in "Category:Created_with_Persistence_of_Vision" and check whether they should be in the category

[edit] Inspiration


[edit] Useful Tags

{{convertToSVG}}
{{vector version available|FOO.svg}}
{{Translation possible}}

[[Category:Asymptote diagrams]]
[[Category:Created_with_Adobe_Illustrator]]
[[Category:Created_with_Blender]]
[[Category:Created_with_Persistence_of_Vision]]
[[Category:Created_with_R]]
[[Category:Made with DOT]]
[[Category:Metapost_diagrams]]
[[Category:SVG]]
[[Category:TikZ diagrams]]

Commons:Templates

[edit] Tools

[edit] API

[edit] Software


[edit] Gallery

[edit] New, own work

[edit] New vector version of an existing bitmap graphic

[edit] Translation of an existing vector graphic

[edit] Creation of an SVG version of an existing graphic using a given source code

[1]