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

Rotate Shape based on Heading #1150

Open
aiwhoo opened this issue Jan 30, 2022 · 5 comments
Open

Rotate Shape based on Heading #1150

aiwhoo opened this issue Jan 30, 2022 · 5 comments

Comments

@aiwhoo
Copy link

aiwhoo commented Jan 30, 2022

What's the problem this feature will solve?
Relay visual feedback of heading for debugging and verification.

Describe the solution you'd like
It'd be nice to be able to load in an image of the agent and rotate it based on the heading. For example, in the continous space, if a boid flocker is moving at a 45 degree angle, instead of the red dot, an image of a bird could be loaded which is facing at the 45 degree angle.

Additional context
This is primarily working with the boid flocker example in the mesa/examples directory.

@EwoutH
Copy link
Member

EwoutH commented Jan 31, 2022

Yes, I strongly agree this should be implemented. Thanks for reporting!

On my personal list is first finishing the big project of implementing different agent types in Mesa (called breeds in NetLogo) (#1142), but after that I will try to take a look into this.

If anyone else is up to speed with this part of the code and wants to implement this, please do so, since I'm not.

@aiwhoo
Copy link
Author

aiwhoo commented Jan 31, 2022

@EwoutH there was an individual that just recently shared a video Showcasing his model which happened to have this. Mesa admin should view his code and consider integration. His video demonstrates core agent based modeling functionality that should be within mesa.

https://youtu.be/pOF1H84xPik

He stated he’ll upload to GitHub by end of week.

@EwoutH
Copy link
Member

EwoutH commented Jan 31, 2022

That looks awesome! I would love to see the source code, it might even be useful for the Example library: https://github.com/projectmesa/mesa/tree/main/examples

@aiwhoo
Copy link
Author

aiwhoo commented Jan 31, 2022

@EwoutH reach out to him to show Interest! That will encourage him to share the code.

The main issue with the mesa/examples is that it lacks examples. The flocker example is the only one using the continuous space, but it doesn’t encompass the other mesa coding styles/features. Anything added to the examples would be a win in my book!

@aiwhoo
Copy link
Author

aiwhoo commented Feb 1, 2022

@EwoutH The author posted his github link: https://github.com/ValerioB88/EvoAgent/tree/master!!!!

@jackiekazil jackiekazil added the Sprints! A task that might be good to tackle during sprints! label Apr 24, 2023
@jackiekazil jackiekazil removed the Sprints! A task that might be good to tackle during sprints! label May 17, 2024
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

No branches or pull requests

3 participants