Skip to main content
100%

Smiley Face Part II

✓ Published0🌍 Public
SSoumitroV
Last edited Jul 31, 2020
Created on Jul 30, 2020

This example simulates a digital circuit on a printed circuit board, allowing users to toggle switches and observe the resulting LED states. Built with React and p5.js, it loads board and component images, then uses JavaScript logic to model OR and AND gates alongside D flip-flops connected in a ring counter configuration. A periodic clock signal triggers state updates, and mouse clicks on switch positions flip their binary outputs, which are visualized as illuminated LEDs on the board.

AI-generated description

Smiley face implementation with React.

MIT Licensed

Similar vizzes