ScratchData LogoScratchData
Back to Flash_Programmer's profile

Logic Gates

FLFlash_Programmer•Created September 21, 2022
Logic Gates
38
36
727 views
View on Scratch

Instructions

Logic Gates full instructions as well as all keybinds in the comment inside use the sidebar or keybinds 1-8 to place components (look up a chart for the different logic gate symbols if you don't recognize one, the last one on the sidebar is the wire tool) use the mouse to place gates hold space and click and drag from a sender to reciever component to make a wire connection, to delete a wire connection click and drag from a sender to reciever that has a wire attached to disconnect it. use the mouse to hover over components and press x to delete the input/output component can be toggled on/off by clicking on it, it can also take an input and glows yellow if it gets powered, though this is overridden by toggling it. you can click and drag around the screen, as well as drag individual components hold s and drag to select you can also use the scroll wheel to zoom in and out you can hover over components and press the left and right arrow keys to rotate it (or you can hold space and use the scroll wheel) more features coming soon (maybe, if I feel like it, there's also hidden features I didn't mention because they are either broken or unpolished) POWER POWER POWER XOR XOR POWER POWER AND OR AND -142 78 90 -137 5 90 -134 -65 90 -39 59 90 42 41 90 99 40 90 102 -24 90 -36 0 90 42 -25 90 -32 -56 90 0 0 1 0 0 1 0 0 1 1 1 0 1 0 1 1 0 0 1 0 0 1 1 1 1 0 1 1 0 0 1 0 0 1 0 0 1 0 0 2 2 1 2 3 4 1 5 0 1 9 0 2 2 1 2 8 10 2 3 4 2 4 1 1 4 1 2 8 1 1 8 1 3 10 1 3 5 1 4 5 0 5 6 1 8 9 1 10 9 0 9 7 1 4 10 0

Description

This is all rendered in pen, to reduce lag, consider running in turbowarp: https://turbowarp.org/735160901?hqpen Share your creations here: https://scratch.mit.edu/discuss/topic/725723/ C + OpenGL version: https://github.com/Known4225/Logic-Gates-OpenGL Python version: https://github.com/Known4225/Logic-Gates-Python Updates: 19.11.23: Added dark theme, press t to toggle between light and dark theme. Also added presentation wire mode, press w to toggle between standard and presentation 2.04.23: Added a snap to grid feature, activate by entering 'g' into the load console (this is irreversible) 30.03.23: Changed the behavior of power components to now pass through a signal it recieves. Fixed a bug with copying 16.01.23: Fixed a few bugs. I'm working on a python implementation of this program using the turtle module. It is much slower unfortunately than the js version 4.10.22: Fixed a selection bug 28.09.22: Added sidebar 26.09.22: Fixed some selection and copy bugs 25.09.22: Added selection and copy and paste (use c) Scratch starts to lag at around 200 components Turbowarp fares much better 24.09.22 (but I slept): New components including XOR, NOR, NAND, and a BUFFER component that allows you to make clocks (slight delay before passing the signal on) 24.09.22: Quality of life updates, delete key, import/export functionality, fixes to visuals, rotation, delete wire connections by connecting the same components (like as if you were going to connect them but they're already connected) 23.09.22: Shared

Project Details

Project ID735160901
CreatedSeptember 21, 2022
Last ModifiedFebruary 16, 2024
SharedSeptember 23, 2022
Visibilityvisible
CommentsAllowed