Package:
Summary:
Browse images like a first person view game
Groups:
Author:
Description:
This class can be used to browse images like a first person view game.
It takes as parameter the definition of a map virtual place with the positions and images that the user would see on in each place of the map depending on the rotation angle.
The class takes the current user position on the map and the rotation angle and determine which image he should be viewing.
It can also determine if the user can go ahead, backwards, left, right, turn right or turn left.
Package:
Summary:
Generate a series of values that decrease smoothly
Groups:
Author:
Description:
This class can be used to generate a series of numbers that decrease smoothly.
It takes as arguments an initial value and the number of steps of numbers to be generated.
The class generates a series of numbers equal to the number of specified steps that decrease from the initial value until it reaches zero, using quadratic equations to determine the approximation of each step.
Package:
Summary:
Show paginated listings updated using AJAX
Groups:
Author:
Description:
This class can be used to show paginated listings updated using AJAX.
It takes as arguments the an array of data entries to display in the pages and the limit number of entries to display per page.
The class generates HTML and JavaScript for navigation links to update the listing without reloading the page when the links are clicked.
Package:
Summary:
Generate image thumbnails
Groups:
Author:
Description:
This class can be used to generate image thumbnails.
It can load an image in GIF, JPEG or PNG formats and create a thumbnail image with a given limit width and height.
The resulting thumbnail image is saved to a new file.
Package:
Summary:
Populate a MySQL database with random data
Groups:
Author:
Description:
This class can be used to populate a MySQL database with random data.
It can scan the list of tables and fields of a MySQL database and generate SQL INSERT statements that will fill the tables with records with random data.
The class tries to populate each record field with values that seem appropriate based on the field name.
Then it can either execute the generated SQL statements or saved them to a file.