moved libpurple-answerscripts to separate repository. wow!
[mirrors/Programs.git] / java / prubeh.java
CommitLineData
7824a618
H
1public class prubeh {
2 public static void line(int i) {
3 for(;--i>0;) {
4 System.out.print(" ");
5 }
6 System.out.println("+");
7 }
8
9 public static void main(String[] argv) {
10 //if(argv.length != 2) { System.out.println("Usage: java filem [int zoom] [outputfile]"); System.exit(0); }
11 float a=0, b=0, c=0;
12 for(int i = 0;i<=60;i++) {
13 a+=0.1;
14 b+=0.01;
15 c+=0.5;
16 line((int) Math.round( 50+(( Math.sin(a)+Math.sin(b)+Math.sin(c) )*20) ));
17 }
18 }
19}
This page took 0.663018 seconds and 4 git commands to generate.