How do you implement levels of detail in grass?

I searched everywhere and the only thing i could find for implementing LODs in detail object is a plugin called “uNature”, but it costs 50$, and that’s a little too much for me. does anyone know another way to do it?

have a look at this => available on hithub