Drawing a constellation of stars.

★★☆

A constellation is a group of visible stars in the night sky that seem to form a pattern, typically representing an animal, mythological subject, or object. The origins of the earliest constellations go back to prehistory. People used them to relate stories of their beliefs, experiences, creation, or mythology. Different cultures and countries invented their own constellations.

Constellation

Make

Write a program to draw a constellation. To make this as accurate as possible. you will find it easier to plan on graph paper first. One method would be to print a picture of the constellation and then trace over it using tracing paper. Placing this tracing over graph paper would allow you to estimate coordinates of where the stars are in relation to a turtle canvas. E.g.

The Plough also known as the Big Dipper:

You could also just use trial and error.

Success Criteria

Remember to add a comment before a subprogram to explain its purpose.

Complete the subprogram called draw_constellation that:

  1. Draws a constellation of stars in the night sky.
    • You can choose any constellation. Some are more challenging than others.
  2. Uses a constant identified as star_size to set the size of the circle or dot drawn to represent each star.
  3. Uses a constant identified as scale to multiply the coordinates of each star to scale up the image drawn.

Typical inputs and outputs from the program would be:

Restricted automated feedback

Automated feedback for this assignment is still under construction. Submitted programs are checked for syntax errors and their source code is checked for potential errors, bugs, stylistic issues, and suspicious constructs. However, no checks are performed yet to see if the program correctly implements the behaviour specified in the assignment.