Quote:
Originally Posted by twobob
I just wanted to show support for Geekmaster here.
Excellent job on this. Some details on piping a video thru the dithmatron would be greatly appreciated. As an almost first time c coder I find the structure daunting but no doubt it will become clear with some actual elbow grease.
Compared with implementing Cross-platform tool chains this looks to be fun in the making.
Much appreciated.
I, for one, am definitely watching your work, with admiration.
If I can hookup a viddy in the sometime I will.
|
You can reformat the C code to any of many popular styles using a tool called AStyle. many programmers editors have it built in. Or you can run it as a standalone tool. It can add a lot of "white space", if that makes the code more readable for you.
For my own personal preference, I like as much of the code "above the fold" visible with no scrolling) as possible. I let my eyes dart around in what is visible, as I absorb the code, and the more visible the better (for me).
I am glad you enjoy it. My demos are really just examples that demonstrate how to use the ALGORITHMS and function that I present (which is why they are called "demos"). The point is to teach people how to use fairly low-level access to computers that is quite "cross-platform". I my case, I usually try to support all the eink kindles, and I plan to add support for Nook Simple Touch to my future demos (now that I have one).
I also make my demos use a single C file, so they are easy to compile with gcc or tcc (tinycc). Graphics demos usually run a lot faster if cross-compiled with gcc, than when compile on the kindle with tcc, but tcc can be easier to install and use (from an SSH shell).