All pastes #1401926 Raw Edit

Stuff

public text v1 · immutable
#1401926 ·published 2009-04-24 14:05 UTC
rendered paste body
public class Sinusoid
{
	public static void main(String[] args)
	{
		char character = 'O';

		int[] values = {1, 1, 2, 2, 3, 5, 7, 8, 11, 13, 16, 19, 22, 25, 28, 31, 35, 38, 42, 45, 49, 52, 55, 58, 61, 64, 67, 69, 72, 73, 75, 77, 78, 78, 79, 79, 79, 78, 78, 77, 75, 73, 72, 69, 67, 64, 61, 58, 55, 52, 49, 45, 42, 38, 35, 31, 28, 25, 22, 19, 16, 13, 11, 8, 7, 5, 3, 2, 2, 1};

		String[] text = new String[70];

		for(int i=0; i<70; i++)
		{
			char[] characters = new char[79];
			characters[values[i]-1] = character;
			
			text[i] = new String(characters);		

		}
		while (true)
		{
			for(int j=0; j<70; j++)
			{
				int countDown = 20000000;
				while (countDown != 0)
				{
					countDown -= 1;
				}
				System.out.println(text[j]);
			}
		}
	}
}