Plates simulation library
Project description
pyplatec
========
Plate simulation for python (wrapper of an existing C/C++ library).
Take a look at the simulation at work: http://www.youtube.com/watch?v=bi4b45tMEPE#t=0
The original project is here: http://sourceforge.net/projects/platec/ . That project is part of a Bachelor of Engineering thesis in Metropolia University of Applied Sciences, Helsinki, Finland. The thesis is freely downloadable from http://urn.fi/URN:NBN:fi:amk-201204023993 .
Kudos to the original author!
usage
=====
The library is quite simple:
p = platec.create(seed=3)
while platec.is_finished(p)==0:
platec.step(p)
hm = platec.get_heightmap(p)
platec.destroy(p)
Or if you want more control:
p = platec.create(seed=3,map_side=512,sea_level=0.65,erosion_period=60,
folding_ratio=0.02,aggr_overlap_abs=1000000,
aggr_overlap_rel=0.33,cycle_count=2,num_plates=10)
Enjoy!
========
Plate simulation for python (wrapper of an existing C/C++ library).
Take a look at the simulation at work: http://www.youtube.com/watch?v=bi4b45tMEPE#t=0
The original project is here: http://sourceforge.net/projects/platec/ . That project is part of a Bachelor of Engineering thesis in Metropolia University of Applied Sciences, Helsinki, Finland. The thesis is freely downloadable from http://urn.fi/URN:NBN:fi:amk-201204023993 .
Kudos to the original author!
usage
=====
The library is quite simple:
p = platec.create(seed=3)
while platec.is_finished(p)==0:
platec.step(p)
hm = platec.get_heightmap(p)
platec.destroy(p)
Or if you want more control:
p = platec.create(seed=3,map_side=512,sea_level=0.65,erosion_period=60,
folding_ratio=0.02,aggr_overlap_abs=1000000,
aggr_overlap_rel=0.33,cycle_count=2,num_plates=10)
Enjoy!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyPlatec-1.0.tar.gz
(37.5 kB
view details)
File details
Details for the file PyPlatec-1.0.tar.gz
.
File metadata
- Download URL: PyPlatec-1.0.tar.gz
- Upload date:
- Size: 37.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 281fb8811dacc9fc571314c9ca43d46f579a633d1879160dce2a85a330ef8960 |
|
MD5 | b634a443a00e76b917a0bb1e73ab5d2f |
|
BLAKE2b-256 | ea98ca7b94944b7fa42dce56c07e75be22a3d84372c3715a3f307540a8a89445 |