Check the source. The C program basically draws some lines in 3d space inside a single GX block. Half the lines are a different colour and are moving slower than the other half. The lines move from the back of the box to the front (-1 to 1) and are placed back at -1 if they become greater than 1. Lines are better than dots because they provide a nice motion blur appearance. You can interact with effect by pressing the appropriate buttons. If you change the angle you can make it look like rain, heavy rain or a slow drizzle. You only need the void draw_stardust() function, the rest of the code is just there to for the demo purpose and is not needed. | Check the source. The C program basically draws some lines in 3d space inside a single GX block. Half the lines are a different colour and are moving slower than the other half. The lines move from the back of the box to the front (-1 to 1) and are placed back at -1 if they become greater than 1. Lines are better than dots because they provide a nice motion blur appearance. You can interact with effect by pressing the appropriate buttons. If you change the angle you can make it look like rain, heavy rain or a slow drizzle. You only need the void draw_stardust() function, the rest of the code is just there to for the demo purpose and is not needed. |