Socket
Socket
Sign inDemoInstall

cellular-automata-gpu

Package Overview
Dependencies
7
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cellular-automata-gpu

GPU-based cellular automata runner


Version published
Weekly downloads
4
increased by100%
Maintainers
1
Install size
126 kB
Created
Weekly downloads
 

Readme

Source

cellular-automata-gpu

Installing and testing

With npm do:

npm install cellular-automata-gpu

Features

  • Doesn't have any dependency to the DOM (use gl when used in node)
  • Can easily apply different successive rules.
  • Can be used in 2D and 3D.
  • Allow the cellular automata rules to be passed as a string in one of several common CA rule format, see cellular-automata-rule-parser.

Warning

It is currently recommended to use the CPU-based module cellular-automata instead as it is more battle-tested, more documented and not subject to GPU drivers bugs, albeit much slower.

Changelog

0.1.0 (2019-04-27) :

  • Now use a WebGL2 backend
  • Does not work in node.js anymore (no stable headless WebGL2 implementation as of yet)
  • More consistent behavior on different GPUs
  • Update dependencies, remove dependency to uniq and gl
  • Smaller npm package

0.0.2 (2017-01-13) :

  • Fix incorrect shader generation for stochastic rule in 3D
  • Fix issue with empty birth or survival value in stochastic rules

0.0.1 (2016-12-17) :

  • First publication on npm.

License

MIT

Keywords

FAQs

Last updated on 27 Apr 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc