Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop changes in plant orientation #15

Merged
merged 2 commits into from
Dec 13, 2017

Conversation

Emblanc
Copy link
Collaborator

@Emblanc Emblanc commented Dec 5, 2017

Reset of the orientation of the turtle each time the model draws a new plant : it prevents plants from changing orientation from one day to another
This will partially solve the issue #12 . We still need to add random to the orientation of plants, otherwise, they are all oriented in the same direction.

…w plant : it prevents plants from changing orientation from one day to another
@pradal
Copy link
Contributor

pradal commented Dec 5, 2017

This can be done during when planting the seeds

@christian34
Copy link
Contributor

Instead of using @r, you can also enclose each plant in brackets ([Seed] [Seed]...): that way the turtle goes to its initial orientation before drawing each plant and without being influenced by the number of axes / internodes in the canopy (and you are sure without testing tiller number that this will occur at each plant base)

@pradal
Copy link
Contributor

pradal commented Dec 7, 2017

We had exactly the same problems at the begining of Adel.
You can also set the random orientation for each plant ...

@chrlecarpentier chrlecarpentier merged commit 8f3e7f3 into openalea:master Dec 13, 2017
@Emblanc Emblanc deleted the dancing_plants branch June 12, 2018 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants