BACK TO DIRECTORY

Wp Game Of Life

by vilmosioo

0.0
(0 ratings)

A game of life simulation using HTML5 canvas. For more information visit the Game of Life Wiki Page.

You can also check out the demo.

Shortcodes

[gol ID='canvas_id' width='width' cells='cells' background='background' cell_active_color='cell_active_color' cell_inactive_color='cell_inactive_color' cell_transition_color='cell_transition_color']

Embeds a game of life animation in your post. Parameters:

  • canvas_id (optional) The id of the generated canvas. Default: WP_GAME_OF_LIFE
  • width (optional) The desired width of the generated canvas. Will not expand beyond the viewport. Default: 1000
  • cells (optional) The number of cells in one row to draw. This affects performance exponantioly. Use with caution. Default: 125
  • background (optional) The background color of the generated canvas. Default: #aaa
  • cell_active_color (optional) The color of active cells. Default: #fff
  • cell_inactive_color (optional) The color of inactive cells. Default: #000
  • cell_transition_color (optional) The color of cells that have just been deactivated. Must be rgb format. Default: rgb(65,180,255)

Contribute!

If you have suggestions for a new add-on, feel free to email me on Twitter. Alternatively, you can fork the plugin from Gihub

Screenshots

Glidergun

Glidergun

Pentomino

Pentomino

Plugin Details

Active Installs
10
Total Downloads
1,712
Version
0.0.1
Requires WP
3.6
Requires PHP
Tested Up To
3.7.41
Added
2014-03-17
Last Updated
2014-03-17 5:02pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0