OS stats in PHP

Shows the OS statistics and information about OS. 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 /********************************************************     MYCPLUS Sample Code -...

Moving ball applet – Java

This is a Java class that uses some trigonometry and vector mathematics in its implementation.  An object of type MovingBall holds data about a “ball” that has a color, radius, position, speed, and direction. The ball is restricted to moving around inside a rectangle in the xy-plane. The ball can draw itself in a graphics context and will move when it is told to move.