My method is described here: https://www.patreon.com/posts/hatching-in-1pdg-31716880. I've improved it since then but the core idea remains the same.
Thank you very much for your reply. I can’t believe I didn’t realize there was already a dedicated article about it. Thanks again!