Git Product home page Git Product logo

screen-saver-bouncing-ball-'s Introduction

SCREEN-SAVER-BOUNCING-BALL-# Screensaver

The screensaver application displays variable balls in a 3d environment with terrain. The balls collide with each other and the environment dynamically, obeying the laws of physics.

General Features

  • The position, speed and colour of each ball is initially random.
  • The positions of the balls are ensured to be non-overlapping.
  • The balls collide elastically with the walls, fixed terrain and with each other.

System Requirements

Screensaver runs on Linux based platforms only. It requires the following packages:

  • GNU gcc compiler
  • OPENGL utility library
  • pthread library

Usage Instructions

To run the main program, run: make execute num_thread = N Where N is number of balls and is limited to 50. Inside the GUI window, N number of bouncing balls will be seen on the screen. 6 buttons are included for various uses.

CAMERA/POV options: -

  • Press “A” for default front view.
  • Press “S” for bird eye view.
  • Press “D” for Right Hand side view towards terrain.
  • Press “W” for Left Hand side view behind mountains.TRANSPARENCY OPTIONS: -
  • Press “J” to make the walls of cuboid opaque.
  • Press “L” to increase transparency of walls.
  • Press “I” to make the balls opaque.
  • Press “K” to increase transparency of balls.

FOG OPTIONS: -

  • Press “H” for night/foggy view.
  • Press “G” to day view.
  • Press "Q" to exit window.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.