I’ve been curious about making Logic Gates in Desmos for a while now and recently found the motivation to give it a try. While not everything that I want to make is in the Project yet, I think I’ve made enough to show off with. The whole concept is to make Logic Gates from just functions, no Piecewise equations.
For Example:
You can make Not like: {x=1: 0, 1} or, floor(mod(x+1, 2)). One is math and the other only uses functions.
Or can be made like {x=0: {y=0: 0, 1}, 1} or it can also be made by ceil((x+y)/2).
Similarly, And can be made with {x=1: {y=1: 1, 0}, 0} or simply, xy
Take a look at the project here: Logic Gates | Desmos