Step 7: Creating the 'random arcs' picture

Now comes the fun part of the application: creating a picture based on random data provided by people.

The picture will be created by a script that:

The code to create the picture doesn't use any new concepts you didn't see already in the previous chapters. We will just create a new service responsible to create the picture. Proceed as follows:

We could now add again a test script to check if everything works fine. But we will do that in the next chapter and use a different way to test.