Procedural levels

Hello! I have some some game idea I would like to create in Core, but it requires procedural level creation. So I wonder is there any example code that adds geometry proceduraly (via code) - on the fly.. or just point me into right section of API docs, please. Thank you.