Let's take a look at the effects, to see whether this is what we really want. So, crank it up in your browser. A new Random class makes an object, the Next function gets a number, and that's how you can initialize x and y coordinates at each .
Alright, hit the Make and Show Points buttons, and there's an obvious problem, as shown in the following screenshot:
![](https://static.packt-cdn.com/products/9781788296540/graphics/assets/2d805c2c-feb6-4d66-837f-a24f0207bedb.png)
Figure 6.19.6: The results of running the program as currently written are not very random