A.4 demo3d, A.4.1 life3d, Demo3d – Sun Microsystems J2ME User Manual
Page 96: A.4.1, Life3d, Section a.4
84
J2ME Wireless Toolkit User’s Guide • October 2004
FIGURE 43
An image transferred via simulated Bluetooth
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.