Star pattern using recursion (HELP)

I've been asked to write a code in a drawing software (very basic, commands like forward, turn, repeat, subtasks etc. ) in order for it to draw this pattern using recursion (see image file). However, I have no idea how to do this. Could someone help me out/give me a solution?

2 commentaires

Geoff Hayes
Geoff Hayes le 4 Juil 2018
Gijs - what have you tried so far? Presumably your professor has given you some idea of where to start.
Gijs van der Velden
Gijs van der Velden le 4 Juil 2018
not at all, unfortunately, just had to figure out myself :( thanks for the response !

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Fractals dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by