wireworld-player

A multithreaded web app for loading and simulating instances of the Wireworld cellular automaton (by Rezmason)

Wireworld-player Alternatives

Similar projects and alternatives to wireworld-player

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better wireworld-player alternative or higher similarity.

wireworld-player reviews and mentions

Posts with mentions or reviews of wireworld-player. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-04.
  • Web Crypto API
    8 projects | news.ycombinator.com | 4 Dec 2021
    This past year I've live streamed the development of a small web app that benefits enormously from web workers:

    https://github.com/Rezmason/wireworld-player

    https://rezmason.github.io/wireworld-player

    As a simulation, the main thread asks a web worker to update the world state and then render the new state. By default, this happens once per requestAnimationFrame.

    But there's a "Turbo" button (it looks like a radioactive hazard symbol) that allows the web worker to update as often as it can per requestAnimationFrame, speeding up the simulation around 72x while keeping the main thread 100% responsive.

    The decoupling of the synchronous number crunching work from the main thread has also given me a place to experiment with much more resource intensive algorithms, like https://jennyhasahat.github.io/hashlife.html , which fills an enormous cache and can advance the sim by exponential time steps.

    Modifying Hashlife to run in the main thread without freezing the app is possible, but it would have made the code much more complicated, run slower, and the other cores available to web workers would have gone unused.

Stats

Basic wireworld-player repo stats
1
8
2.4
7 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com