このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Wp Game Of Life

説明

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

スクリーンショット

  • Glidergun
  • Pentomino

インストール

  1. Download the plugin files and upload them to your /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Ready to go! Now you can use the [gol] shortcode within your theme.

評価

このプラグインにはレビューがありません。

貢献者と開発者

Wp Game Of Life はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Wp Game Of Life” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

0.0.1

  • Launched first version.
  • Will inject a canvas tag in the document and create a game of life animation.