Because most of my problems stem from lack of motivation, focus and too much perfectionism. I fear the thought of being asked "Show me what you've created". It doesn't help that my friends think I'm a good programmer if I can't prove it.
But it's not that I'm not writing code. It's just that I'm usually tearing down what I've created. Like drawing on paper, then throwing it in the trash (no matter if it's good).
There is stuff that motivates me. Game development. Procedural generation. Visualization. It's just not that related to jobs I could have a chance of getting (like web development), if there is a chance anyway.
I had the idea that I could write example implementations and visualizations of algorithms used in procedural generation. Tufte-like. Perhaps a bit more in-depth than what is on the net already. I figured it has certain qualities that appeal to me, like being kind of modular. I can write one piece without having to worry about the next one, or having a tower named "things to do" in front of me. It's also not that much code, rather the code that needs to be written has to be clean and concise.
Would that be something I can put on my CV? If so, how "much" should there be so it doesn't look like "Hey that guy wrote 10 lines of JavaScript/C++/whatever and thinks we hire him". Even if I was happy to just get an internship.