1 00:00:13,170 --> 00:00:15,600 Unknown: This section I will explain the single attractor 2 00:00:15,600 --> 00:00:20,100 geometrical transformation code, we will use our previous random 3 00:00:20,100 --> 00:00:21,840 code beginning and ending. 4 00:00:24,990 --> 00:00:27,360 But we will remove the rest of the code in between. 5 00:00:35,160 --> 00:00:38,280 Now, we will add the distance component to measure the 6 00:00:38,280 --> 00:00:42,750 distance between a point that we will create on Rhino and the 7 00:00:42,750 --> 00:00:52,050 list of points from our grid. Then we will use remap numbers 8 00:00:52,050 --> 00:00:56,490 components to be able to control the values of distances we got. 9 00:00:56,520 --> 00:01:00,480 So, basically it takes the range from what is named sources mean, 10 00:01:01,140 --> 00:01:07,620 which are the distance values ranging here from 25 to 725. and 11 00:01:07,620 --> 00:01:11,730 change it to our chosen target domain, which we want our values 12 00:01:11,730 --> 00:01:20,070 to fall within which is from one to 50.
Now, we create our move 13 00:01:20,070 --> 00:01:23,880 component and connect our points to it. And we will need to 14 00:01:23,880 --> 00:01:27,360 specify the magnitude as the remap distances 15 00:01:29,340 --> 00:01:32,160 and direction of the movement in this axis. 16 00:01:36,599 --> 00:01:41,399 But first we will take our remap number multiplied by a slider 17 00:01:41,459 --> 00:01:48,659 that goes from negative 10 to 10. This will allow us to invert 18 00:01:48,659 --> 00:01:54,479 the curvature and now we have our points smoothed according to 19 00:01:54,479 --> 00:01:55,619 our single attractor 20 00:02:01,290 --> 00:02:03,840 In the coming lecture we're going to build on this tutorial 21 00:02:03,840 --> 00:02:07,470 and I'm going to show you how to assign geometry and also scale 22 00:02:07,470 --> 00:02:10,140 them in reference to our single attractor.