Skip to content

@prozilla-os/logic-sim

About

@prozilla-os/logic-sim is a ProzillaOS application for simulating digital logic. Inspired by Digital Logic Sim by Sebastian Lague.

Installation

@prozilla-os/core is required to run this application.

sh
npm install @prozilla-os/core @prozilla-os/logic-sim
yarn add @prozilla-os/core @prozilla-os/logic-sim
pnpm add @prozilla-os/core @prozilla-os/logic-sim

Usage

Basic setup

tsx
import { Desktop, ModalsView, ProzillaOS, Taskbar, WindowsView, AppsConfig } from "@prozilla-os/core";
import { logicSim } from "@prozilla-os/logic-sim";

function App() {
  return (
    <ProzillaOS
      systemName="Example"
      tagLine="Powered by ProzillaOS"
      config={{
        apps: new AppsConfig({
          apps: [ logicSim ]
        })
      }}
    >
      <Taskbar/>
      <WindowsView/>
      <ModalsView/>
      <Desktop/>
    </ProzillaOS>
  );
}

Built by Prozilla