Thingiverse
Tactile Bits in OpenScad
por WilliamAAdams
10
Descargas
18
Likes
0
Makes
I've been programming for quite a few years now, and since the beginning of time (programming my Commodore P.E.T.), I could not remember binary bit patterns to save my life!
This thing gives me the ability to print out binary representations of numbers. That gives me something nice and tactile that I can look at, pick up, and play around with.
Perhaps if I had this as a toy when I was younger, I would not have such problems remembering binary encodings because the memories would have been cemented in something physical.
Within the test_boolean.scad file, you will find the module: display_binary(number, bits, withplate)
You give it a number, and the number of bits you want to display, and whether you want a base plate attached or not.
And out comes your binary representation of your number.
If you care to look deeper, you can take a look at the boolean.scad file. In there you will find some useful bit banging operators like RSHIFT, LSHIFT, BIT, BTEST, 32BITAND, 32BIT
This thing gives me the ability to print out binary representations of numbers. That gives me something nice and tactile that I can look at, pick up, and play around with.
Perhaps if I had this as a toy when I was younger, I would not have such problems remembering binary encodings because the memories would have been cemented in something physical.
Within the test_boolean.scad file, you will find the module: display_binary(number, bits, withplate)
You give it a number, and the number of bits you want to display, and whether you want a base plate attached or not.
And out comes your binary representation of your number.
If you care to look deeper, you can take a look at the boolean.scad file. In there you will find some useful bit banging operators like RSHIFT, LSHIFT, BIT, BTEST, 32BITAND, 32BIT
¿Has impreso este modelo? Inicia sesión y comparte tu make.
Inicia sesión para dejar un comentario
Iniciar sesiónAún no hay comentarios – ¡sé el primero!