Smiley Face Part II
✓ Published0🌍 Public
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 descriptionSmiley face implementation with React.
MIT Licensed