# Traveling Salesman Problem

In this grasshopper example file you can define a sphere and use the TSP(travelling salesman problem) component from the Leafvein plugin as a space filling algorithm.

In this grasshopper example file you can define a sphere and use the TSP(travelling salesman problem) component from the Leafvein plugin as a space filling algorithm.

In this grasshopper definition by using the lunchbox plugin you can convert a csv file into a pie chart

In this grasshopper definition by training a neural network using boundary curves (representing a function in an urban scale) you can use it to recognize the function of any given closed curve.

In this grasshopper definition first we scatter a series of random points inside a brep and then generate random vectors to cut the brep with the related planes. Finally you can move the pieces away from each other.

In this definition you can use the Lunchbox plugin to extract data from an Excel file. Then by using a technique for data management and Lunchbox Chart View you can visualize the data.

In this grasshopper definition by choosing a random point inside a rectangle and creating a loop which constantly cuts the rectangle from a point vertically and horizontally you can have a parametric subdivided model.

In this grasshopper definition, by defining a planar module and mirroring it by one of the module’s edge as the mirror plane, you can create aggregation model from this recursive loop.

In this definition by using a parametric helix and modeling a series of triangles on the path you can make spiral spikes. You can also change the graphs to get different results.

In this grasshopper definition a way of creating a desired number of arcs will be demonstrated using the 3 point arc component. In order to do so, 3 sets of points will be required. One set is only one point in the center which all arcs are connected to.

In this exercise file, you can learn how to scale a series of boxes by using the range and graph mapper to produce a non-linear distribution.

The Splop component Wraps geometry onto a surface. Basically, you can distribute a geometry on a surface by using the Splop component. The Geometry will not be deformed as it is transformed if You activate the Rigid option.

by using the Peacock plugin (Offset variable component) you can simply offset a curve with variable numbers and define if you want it to offset from both sides, how to connect at the end and control the Bulge.

This definition will make a series of rectangular cells move in the z-direction and scale based on their distance from point attractors. Finally, they will loft together to form the modules.

By using the “Spatial Deform (Custom)” component you can deform a freeform surface. You have to define a space syntax of points and forces. First, give the moving points and related forces to the space syntax and then define some points which are fixed and have no movement.