by sergex · 8y ago · 0 comments
Hopefully it is both fun and challenging, while at the same time educational about some of the fundamental principles of how a CPU works.
It still lack some explanatory texts, but is should be playable as it is.
It is inspired by the first chapters of the brilliant Nand2tetris course (and I have gotten permission to use the same general CPU design). My hope is this is more accessible since it is web-based and does not require any text-based coding or CS background.
This reminded me of "Code" by Charles Petzold, which I saw you reference in the About page. As a software engineer with an interest (but no professional training) in hardware design, I think it's useful and interesting to have at least a basic understanding of how a CPU handles logic.
Can I ask what library (if any) you used for the canvas interactions? I'm looking for something similar for a project of my own.
I think I've finally found what I'm looking for in Raphael.js + Raphael.FreeTransform though.