At first, i have to say, that i'm german. Please get not angry about my Bad grammar skills.
My question is: how do i make an algorithm that automatically creates my 2d World (place random trees or something like that). It should spawn them with a biom-based system. And if it goes out of them window it should be saved for the next time if i'm coming back. It should work a bit like the minecraft world generation system, if somebody knows that. Thank you for your Help.