Demo3D; Life3D - Sun Microsystems J2ME User Manual

Wireless toolkit 2.2
Table of Contents

Advertisement

FIGURE 43
You can avoid the permission prompts by running the demonstration in the
trusted protection domain.
A.4

Demo3D

This application contains three MIDlets that show off the emulator's support of JSR
184, the Mobile 3D Graphics API.
A.4.1

Life3D

Life3D implements the popular Game of Life in three dimensions. Live cells are
represented by cubes. Each cell has 26 possible neighbors (including diagonals).
For each step of the animation, cells with fewer than 4 neighbors die of loneliness,
while cells with more than 5 neighbors die of overcrowding. An empty cell with
exactly 4 neighbors will become a new live cell.
The view of the playing board rotates slowly so you can view the board from all
angles.
84
J2ME Wireless Toolkit User's Guide • October 2004
An image transferred via simulated Bluetooth

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the J2ME and is the answer not in the manual?

Table of Contents