Set End to 360 (since there are 360 degrees in a circle)Ĭreate a coordinates node and send the sample1 node to the angle port.An interesting one is the coordinates node which can create a point based on an angle and a distance from a point. Nodebox contains a few nodes that enable users to create a new shape. One of the seeds sent to a compound node (together with an ellipse) and cut out by using a CNC-cutter: Change the Seed parameter in one or both of the wiggle nodes to change the pattern:.Rendering the copy2 node should return this result: Now add a translate node to the network and send the pattern (copy1) to the shape port and grid1 to the (blue) translate port.įinally add another copy node and send translate1 to it. Now we will create a grid node to multiply the pattern on a horizontal axis. Connect reflect1 to it.Īdd a colorize node to give the shape a color. Now create a (black) reflect node to make a reflection of the shape.Ĭreate a copy node to create a few copies. The base for these operations on the vertical and horizontal axes is the origin which you can toggle on/off in the viewer pane. It allows you to change the center point of a geometry. We will generate a new shape based on the two shapes by using a binary operation.Ĭreate a compound node and send wiggle1 to shape1 input and wiggle2 to shape2 input.Ī key node for building networks that create patterns is the align node. Set Offset to 10 and 10 for the other one.Set Offset to 30 and 30 for the wiggle node handling the pentagon.The idea is to create a pattern that can be easily changed by using a seed parameter.Ĭreate two wiggle nodes and connect polygon1 to wiggle1 and polygon2 to wiggle2. Toggle on the Align parameter for both polygons.Set Sides to 5 and 3 to respectively create a pentagon and a triangle.Copy the four nodes, make a few variations and group them by sending all of them to a combine node.Ĭreating patterns is fairly easy in NodeBox 3.Insert a colorize node node between the freehand1 and reflect1 to experiment with colors.Different settings for the parameters in copy1 to create more or less complex spirograph drawings.Not pleased with the result? You can start over and clear the path by pressing the clear button of the path parameter. Start drawing something and see the spirograph appear. Render copy1 and click once on freehand1. The calculation of the rotation angle is based on the equation 360.0 / number of copies. You should see the change in location of the reflected shape.Ĭreate a copy node and send the output of reflect1 to it. Watch out: there are two reflect nodes, we need the one with the black icon. You can draw by clicking and dragging the mouse in the viewer pane.Ĭreate a reflect node node and send the output of freehand1 to it. In short: we will create a shape and copy it a few times on top of each other with a difference in rotation.Ĭreate a freehand node and draw a small line in order to have a reference for the rest of the procedure. Let’s make a drawing based on the Spirograph principle.
0 Comments
Leave a Reply. |