Skip to content

cyrilf/microbios

Repository files navigation

microbios

live website

microbios website

Cyclic experiment running on the demo website

Find more experiments on the live demo version 💡


DESCRIPTION 📖

Microbios provide a generic code that allows simulations of cellular automata experiments.
The most famous one being the Game of Life (that you can find on the live version or on the experiments folder).

This is an open-source project, licensed under MIT.

Feel free to submit a PR to create more experiments.

ROADMAP 🚀

  • 🚒 Extract the simulation code 'engine' out of this vue project (to be an external dependency easily re-usable)
  • 🖌 Extract the rendering logic to be able to draw onto canvas
  • 📑 Write README documentation
  • 🎆 Write more experiments

THANKS 👌

Thanks to The Coding Train who inspired me with his video on cellular automata.
Thanks to @sanojian who provided good code inspiration through his project cellauto.
Thanks to @nemtsov for the vue-game-of-life inspiration


trippy

Game of Life experiment

fire

Forest Fire experiment


Default README from Vue 3 : 05/03/2024


This template should help get you started developing with Vue 3 in Vite.

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint