The information on this page might change rapidly. You can check the recent changes to see if any updates have occurred.
Contents |
Simple grid

[[file download: Media:funwithNodes1.ndbx
To create a simple grid we need 3 nodes:
- a rect node that will be used as shape to be multiplied
- a grid node that will create a path of points based on x an y axes
- a place node that will place an instance of the rect node on each point of the grid node
The rect node in the example has 20px as width and height parameter, while the grid node creates a 10 by 10 grid with dimensions 300px 300 px. The place node has two ports: one called shape and another called template. In order to copy the rect on the locations given by the grid node, we should connect the rect node to shape and the grid node to template.
Spiral using copy

[[file download: Media:funwithNodes2.ndbx
Following example takes 2 different kinds of polygon nodes to combine them into a new shape using the compound node. The output of which is used as input for shape in the copy node.
- polygon1 node has a radius of 100 and 5 sides
- polygon11 node has a slightly bigger radius and 10 sides
- compound1 node is set to difference and coloured
- fit1 node is used to scale down the shape as a whole
- copy1 node has following as parameters:
The shape as result of compound looks like this:
The shape as result after copy:
Import svg

[[file download: Media:funwithNodes3.ndbx
| svg file
Following example takes an svg file as input. The total number of nodes are:
- an import node (import1) to import the svg file. In this case one taken from freeclipart.
- a resample node (resample1) to place more points on the original path, set to "by length" with 15 as value
- a fit node (fit1) to scale down the returned path to 300 * 300 in dimensions
- a place node (place1) to recieves the fit node as template and the ellipse1 node as shape input.
- an ellipse node (ellipse1) to create the ellipse that will be send to the place1 node
- a copy node (copy1) to create 8 copies of the returned result from place1 and rotate them from the center on a 45 degree angle.
The result from the place1 node looks like this:
Create variations by replacing the x and y parameter of the fit1 node.
Relocate over wiggle
Next Tutorial: Working With Expressions
Back to the Getting Started page.









