Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley Face Part II

Public visualization

Viewing a saved revision (read-only)

22aa2dcb7c594195b42a6ffe5f6836e3

Smiley Face Part II

1 star0🌍 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.