A concept explanation of the grasshopper code