Wavy lines in java?

He’s using parallax (I think) which you probably shouldn’t be worrying about.

[quote=""]
Not parallax. Basically, take the snowflake class and drop the sine and spawn a bunch of them with random velocities. And all with a random small gravity pulling them down. That is the basic idea of particles which are simply to start with but hard to get looking good.

If you would like I can give you the source but it might be a bit much.

lol sorry my screwed up quotes are screwing up your quotes ;D

Hey thanks for fixing it but I think there might be a problem or Im not understanding something correctly. After I call the snowflake method, do I also have to call the fall and fall random, etc methods with it? I dont see how else this could work, and I know I sound like a newb cause I am one lol

Yup, each method will cause the snowflake to fall in a certain pattern if called repetitively. If you want to have your snowflake follow random movements, you’ll need to randomize how you call each of those functions. Each snowflake you make can follow different patterns depending on how you call the functions.

[applet archive=snows.jar class=com.rorkien.snowflakes.GameApplet width=640 height=480]

Ok, here’s the code i have shown earlier, with some art added :expressionless:

EDIT: And here’s the source: http://www.mediafire.com/?305bspdv3ybj548

If you dont mind could I have the source code for that? :slight_smile: i learn better with examples