public void draw1(Graphics2D g2){
		g2.setStroke(new BasicStroke(10f));
//		int n = 20;
//		if(n > particles.size()) n = particles.size();
		for(int i = 0; i < particles.size(); i++){
			int n = particles.size() - particles.get(i).age/50;
			for(int j = 1; j < n; j++){
				int k = (j+i) % particles.size();
				g2.setColor(new Color(randFloat,1-j/(float)n,j/(float)n, 1f));
				g2.drawLine((int)particles.get(i).loc.x, (int)particles.get(i).loc.y, (int)particles.get(k).loc.x, (int)particles.get(k).loc.y);
			}
		}
		for(int i = 0; i < particles.size(); i++){
			int k = (1+i) % particles.size();
			g2.setColor(new Color(randFloat,1-1/10f,1/10f, 1f));
			g2.drawLine((int)particles.get(i).loc.x, (int)particles.get(i).loc.y, (int)particles.get(k).loc.x, (int)particles.get(k).loc.y);
		}
		for(Particle p : particles)
			p.draw(g2);
	}