{"id":12604,"date":"2022-10-12T14:23:13","date_gmt":"2022-10-12T13:23:13","guid":{"rendered":"http:\/\/www.keris-studio.fr\/blog\/?p=12604"},"modified":"2022-10-12T14:23:15","modified_gmt":"2022-10-12T13:23:15","slug":"grasshopper-monte-carlo-galapagos","status":"publish","type":"post","link":"https:\/\/www.keris-studio.fr\/blog\/?p=12604","title":{"rendered":"Grasshopper \u2013 Monte-Carlo \u2013 Gal\u00e1pagos"},"content":{"rendered":"<p>The brief is as followed. To calculate a complex surface, it is possible to use the Monte-Carlo approximation to have a number close to reality. First we will check whether it\u2019s true or not by comparing our values with the real one. And then we will use Galapagos to seek for the best result.<br \/>\n<img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"393\" class=\"wp-image-12605\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-1.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-1.png 964w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-1-300x122.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-1-768x313.png 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><!--more--><\/p>\n<h1>What is Monte-Carlo.<\/h1>\n<p>Monte Carlo methods, also known as Monte Carlo experiments, are a category of computational algorithm that relies on repeated random sampling to produce numerical results. The underlying idea is to use randomness to solve problems that are, in theory, deterministic. They are frequently used in physical and mathematical problems and are especially useful when other approaches are difficult or impossible to use. Monte Carlo methods are commonly used to solve three types of problems: optimization, numerical integration, and generating draws from a probability distribution.<\/p>\n<p>We will here use this method to evaluate the surface of a complex shape. The idea is to throw balls and count how many are inside the complex shape how many are outside. The proportion of inside\/outside would be the same as the proportion complex\u2019s surface area, reference surface area.<\/p>\n<p>Let\u2019s do it in Grasshopper.<\/p>\n<h1>Preparing the shapes.<\/h1>\n<p>First we create the reference shape and the complex one in Rhino.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"981\" height=\"423\" class=\"wp-image-12606\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-2.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-2.png 981w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-2-300x129.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-2-768x331.png 768w\" sizes=\"auto, (max-width: 981px) 100vw, 981px\" \/><\/p>\n<p>We then import the 2 shapes in Grasshopper and we check the two areas\u2026<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12607 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-3.png\" alt=\"\" width=\"1299\" height=\"900\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-3.png 1299w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-3-300x208.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-3-1024x709.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-3-768x532.png 768w\" sizes=\"auto, (max-width: 1299px) 100vw, 1299px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12608 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-4.png\" alt=\"\" width=\"1162\" height=\"393\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-4.png 1162w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-4-300x101.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-4-1024x346.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-4-768x260.png 768w\" sizes=\"auto, (max-width: 1162px) 100vw, 1162px\" \/><\/a><\/p>\n<h1>Throwing balls<\/h1>\n<p>We will populate the big rectangle with points. The count will be set with a slider ranging from 50 to 500, the Region is the rectangle.<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12609 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-5.png\" alt=\"\" width=\"1692\" height=\"838\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-5.png 1692w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-5-300x149.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-5-1024x507.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-5-768x380.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-5-1536x761.png 1536w\" sizes=\"auto, (max-width: 1692px) 100vw, 1692px\" \/><\/a><\/p>\n<p>We now check which points are inside the complex shape and which are outside. For that we use the <strong><em>Point In Curve<\/em><\/strong> component<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12610 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-6.png\" alt=\"\" width=\"1747\" height=\"609\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-6.png 1747w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-6-300x105.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-6-1024x357.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-6-768x268.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-6-1536x535.png 1536w\" sizes=\"auto, (max-width: 1747px) 100vw, 1747px\" \/><\/a><\/p>\n<p>Relationship gives us 3 possibilities: 0 = Outside, 1 = Coincident, 2 = Inside.<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12611 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-7.png\" alt=\"\" width=\"747\" height=\"516\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-7.png 747w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-7-300x207.png 300w\" sizes=\"auto, (max-width: 747px) 100vw, 747px\" \/><\/a><\/p>\n<p>We need to filter the list of points with this three possibilities.<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12612 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-8.png\" alt=\"\" width=\"1750\" height=\"584\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-8.png 1750w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-8-300x100.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-8-1024x342.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-8-768x256.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-8-1536x513.png 1536w\" sizes=\"auto, (max-width: 1750px) 100vw, 1750px\" \/><\/a><\/p>\n<p>We could also filter the points that are coincident. Let\u2019s try mixing coincident with inside. This way we have only two lists.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"714\" height=\"373\" class=\"wp-image-12613\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-9.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-9.png 714w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-9-300x157.png 300w\" sizes=\"auto, (max-width: 714px) 100vw, 714px\" \/><\/p>\n<p>Ok, let\u2019s count our points and verify the theory. But before that we can pimp a little our points.<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12614 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-10.png\" alt=\"\" width=\"1299\" height=\"795\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-10.png 1299w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-10-300x184.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-10-1024x627.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-10-768x470.png 768w\" sizes=\"auto, (max-width: 1299px) 100vw, 1299px\" \/><\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"658\" height=\"352\" class=\"wp-image-12615\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-11.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-11.png 658w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-11-300x160.png 300w\" sizes=\"auto, (max-width: 658px) 100vw, 658px\" \/><\/p>\n<p>We count<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12616 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-12.png\" alt=\"\" width=\"1062\" height=\"366\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-12.png 1062w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-12-300x103.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-12-1024x353.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-12-768x265.png 768w\" sizes=\"auto, (max-width: 1062px) 100vw, 1062px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12617 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-13.png\" alt=\"\" width=\"1025\" height=\"482\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-13.png 1025w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-13-300x141.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-13-768x361.png 768w\" sizes=\"auto, (max-width: 1025px) 100vw, 1025px\" \/><\/a><\/p>\n<p>So, if we summarise, we have 19 points inside and 117 outside, this is a ratio of 19\/117 = 0.1624. If we compare with the real surfaces we will have 319.73\/1800= 0.1776. Close\u2026not quite accurate but close. Monte-Carlo will give us a surface of 1800*0.1624= 292,32 instead of 319.<\/p>\n<p>Is it a matter of number of points. We increase the number of points. Go for 350.<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-14.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12618 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-14.png\" alt=\"\" width=\"1373\" height=\"889\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-14.png 1373w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-14-300x194.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-14-1024x663.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-14-768x497.png 768w\" sizes=\"auto, (max-width: 1373px) 100vw, 1373px\" \/><\/a><\/p>\n<p>More is not better<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-15.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12619 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-15.png\" alt=\"\" width=\"1705\" height=\"785\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-15.png 1705w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-15-300x138.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-15-1024x471.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-15-768x354.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-15-1536x707.png 1536w\" sizes=\"auto, (max-width: 1705px) 100vw, 1705px\" \/><\/a><\/p>\n<h1>Using Galapagos<\/h1>\n<p>Using Galapagos, we will determine which random number produces the best results, which is somewhat contradictory. Anyway.<\/p>\n<p>We compare now the real surface with the Monte Carlo one. If it fits, it has a score of 100%. So we need to define which number of points reaches or approaches the score of 100%.<\/p>\n<p>OK, we grab the real surface, we calculate the Monte-Carlo surface and we calculate the score.<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-16.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12620 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-16.png\" alt=\"\" width=\"1813\" height=\"737\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-16.png 1813w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-16-300x122.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-16-1024x416.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-16-768x312.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-16-1536x624.png 1536w\" sizes=\"auto, (max-width: 1813px) 100vw, 1813px\" \/><\/a><\/p>\n<p>A simple % setting<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-17.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12621 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-17.png\" alt=\"\" width=\"1885\" height=\"551\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-17.png 1885w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-17-300x88.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-17-1024x299.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-17-768x224.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-17-1536x449.png 1536w\" sizes=\"auto, (max-width: 1885px) 100vw, 1885px\" \/><\/a><\/p>\n<p>Now we have to connect Galapagos to the slider that creates the points and to the score we have.<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12622 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-18.png\" alt=\"\" width=\"666\" height=\"361\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-18.png 666w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-18-300x163.png 300w\" sizes=\"auto, (max-width: 666px) 100vw, 666px\" \/><\/a><\/p>\n<p>And to the Slider (it has been moved closer to Galapagos to better see the connections)<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-19.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12623 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-19.png\" alt=\"\" width=\"1881\" height=\"770\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-19.png 1881w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-19-300x123.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-19-1024x419.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-19-768x314.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-19-1536x629.png 1536w\" sizes=\"auto, (max-width: 1881px) 100vw, 1881px\" \/><\/a><\/p>\n<p><strong>Remember to connect Galapagos, it\u2019s from Galapagos to the desired component<\/strong><\/p>\n<p>Double click on Galapagos<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"623\" class=\"wp-image-12624\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-20.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-20.png 723w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-20-300x259.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/p>\n<p>Instead of Maximize, we set to 100. This is the score we\u2019re looking for.<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12625 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-21.png\" alt=\"\" width=\"710\" height=\"115\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-21.png 710w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-21-300x49.png 300w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/><\/a><\/p>\n<p>Solver Start Solver<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"134\" class=\"wp-image-12626\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-22.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-22.png 728w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-22-300x55.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/p>\n<p>Solutions are tested<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"717\" height=\"603\" class=\"wp-image-12627\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-23.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-23.png 717w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-23-300x252.png 300w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/p>\n<p>The best score is 100.032 very close to the real result.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"254\" class=\"wp-image-12628\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-24.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-24.png 683w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-24-300x112.png 300w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/p>\n<p>It has been obtained with 285 points<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"431\" height=\"77\" class=\"wp-image-12629\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-25.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-25.png 431w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-25-300x54.png 300w\" sizes=\"auto, (max-width: 431px) 100vw, 431px\" \/><\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-26.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12630 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-26.png\" alt=\"\" width=\"1449\" height=\"614\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-26.png 1449w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-26-300x127.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-26-1024x434.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-26-768x325.png 768w\" sizes=\"auto, (max-width: 1449px) 100vw, 1449px\" \/><\/a><\/p>\n<p>Let\u2019s check the worse results<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-27.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12631 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-27.png\" alt=\"\" width=\"1621\" height=\"729\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-27.png 1621w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-27-300x135.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-27-1024x461.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-27-768x345.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-27-1536x691.png 1536w\" sizes=\"auto, (max-width: 1621px) 100vw, 1621px\" \/><\/a><\/p>\n<p>And<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-28.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12632 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-28.png\" alt=\"\" width=\"1509\" height=\"749\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-28.png 1509w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-28-300x149.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-28-1024x508.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-12604-28-768x381.png 768w\" sizes=\"auto, (max-width: 1509px) 100vw, 1509px\" \/><\/a><\/p>\n<p>That\u2019s all for that.<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/MONTE-CARLO-GALAPAGOS-tuto.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12634\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/MONTE-CARLO-GALAPAGOS-tuto.png\" alt=\"\" width=\"7930\" height=\"1304\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/MONTE-CARLO-GALAPAGOS-tuto.png 7930w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/MONTE-CARLO-GALAPAGOS-tuto-300x49.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/MONTE-CARLO-GALAPAGOS-tuto-1024x168.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/MONTE-CARLO-GALAPAGOS-tuto-768x126.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/MONTE-CARLO-GALAPAGOS-tuto-1536x253.png 1536w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/MONTE-CARLO-GALAPAGOS-tuto-2048x337.png 2048w\" sizes=\"auto, (max-width: 7930px) 100vw, 7930px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The brief is as followed. To calculate a complex surface, it is possible to use the Monte-Carlo approximation to have a number close to reality. First we will check whether it\u2019s true or not by comparing our values with the real one. And then we will use Galapagos to seek for the best result.<\/p>\n","protected":false},"author":2,"featured_media":12633,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,190,14,195,25,448,87,8,128,174],"tags":[510,511,175,386,508,451,509],"class_list":["post-12604","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3d","category-architecture-2","category-conception","category-creation","category-etats-de-lart","category-grasshopper","category-linkedin","category-methodologie","category-references","category-simulations","tag-galapagos","tag-generative-design","tag-grasshopper","tag-methodology","tag-monte-carlo","tag-rhino","tag-surface"],"_links":{"self":[{"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12604"}],"version-history":[{"count":1,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12604\/revisions"}],"predecessor-version":[{"id":12635,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12604\/revisions\/12635"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/media\/12633"}],"wp:attachment":[{"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}