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

A simple visualizer for Evac (prt5 data) #14

Open
godisreal opened this issue Jan 31, 2021 · 0 comments
Open

A simple visualizer for Evac (prt5 data) #14

godisreal opened this issue Jan 31, 2021 · 0 comments

Comments

@godisreal
Copy link
Owner

godisreal commented Jan 31, 2021

I have got a simple visualizer for Evac prt5 file by using pygame (SDL for Python).
https://github.com/godisreal/test-crowd-dynamics/tree/master/visualize_evac
The program is developed from a python script that reads evac prt5 data, and it was initially provided by Topi in this thread. @sbenkorichi
(Thank Salah Benkorichi for sending this thread to me.).

https://groups.google.com/forum/m/?utm_medium=email&utm_source=footer#!msg/fds-smv/dFUWR00T6hw/pntxx0rABgAJ

Now evac output data (prt5) can be alternatively visualized by pygame (SDL for python)
in 2D style. This could be supplementary to smokeview for visualizing evac output data,
and it is useful to draw the agents' compete tracjactory as many users required.

In addition we modify xyz.shape = (7,nplim) for evac prt5 data.
Maybe xyz.shape = (3,nplim) on Topi's script is just for Lagrangian Particles. I haven't got time to test it, and comments are much welcome.

Currently this program has no GUI, and it only reads one evacuation mesh and visualize the simulation data in two-dimensional space, and it is easy to further develop this small program for multiple evacuation meshes. A small GUI is also preferable. Comments are much welcome.

This small tool is now uploaded in the following repo.
https://github.com/godisreal/evac-prt5-tool

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

1 participant