All code posted by me on this site is released into the public domain unless otherwise stated.
If you like my answer and it was helpful, please consider [upvoting](//tex.stackexchange.com/privileges/vote-up) (by clicking on the arrows next to the score) and marking it as [accepted answer](//meta.tex.stackexchange.com/q/1852) (by clicking on the checkmark ✓).
Questions seeking debugging help ("**why isn't this code working?**") must include the desired behavior, a *specific problem or error* and *the shortest code necessary* to reproduce it **in the question itself**. Questions without **a clear problem statement** are not useful to other readers. See [minimal working example (MWE)](//tex.meta.stackexchange.com/q/228).
Questions asking us to **recommend or find a book, tool, software library, tutorial or other off-site resource** are not really on-topic as they usually do not revolve around an abstract issue. Instead, [describe the problem](//tex.meta.stackexchange.com/q/228) and what has been done so far to solve it.
This is a questions and answers site, not a place to dump your work. You can take a look at [TeX Consulting and Production Services](https://www.tug.org/consultants.html) to find people who will do such things for you (for money of course).