Plates simulation library
Project description
PyPlatec
========
[![Build Status](https://travis-ci.org/ftomassetti/pyplatec.svg?branch=master)](https://travis-ci.org/ftomassetti/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: Lauri Viitanen!
Requirements
============
Supported versions:
* Python 2.6
* Python 2.7
* Python 3.2
* Python 3.3
* Python 3.4
C++ compiler supporting C++11
Compile
=======
```
python setup.py build
```
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, width=1000, height=800,
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!
Projects using it
=================
I created this wrapper for using this fantastic piece of code in [lands](http://github.com/ftomassetti/lands)
========
[![Build Status](https://travis-ci.org/ftomassetti/pyplatec.svg?branch=master)](https://travis-ci.org/ftomassetti/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: Lauri Viitanen!
Requirements
============
Supported versions:
* Python 2.6
* Python 2.7
* Python 3.2
* Python 3.3
* Python 3.4
C++ compiler supporting C++11
Compile
=======
```
python setup.py build
```
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, width=1000, height=800,
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!
Projects using it
=================
I created this wrapper for using this fantastic piece of code in [lands](http://github.com/ftomassetti/lands)
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 Distributions
PyPlatec-1.2.8.zip
(60.3 kB
view details)
PyPlatec-1.2.8.tar.gz
(48.2 kB
view details)
Built Distribution
File details
Details for the file PyPlatec-1.2.8.zip
.
File metadata
- Download URL: PyPlatec-1.2.8.zip
- Upload date:
- Size: 60.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e200a4f677e4edbc0e48ef3cba59575eba5f583480f2127d916d37539ee0c194 |
|
MD5 | 60c5fe6dd2f005511eb1ea2b404e37da |
|
BLAKE2b-256 | 56611fc20d1c55b5c2d8853ef7bdb93e88032f2858cd289bcd084701e94cd549 |
File details
Details for the file PyPlatec-1.2.8.tar.gz
.
File metadata
- Download URL: PyPlatec-1.2.8.tar.gz
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0438b3a74c62b3c5e1925df9e961a0787c59adf23d8c551cd63a88cf8a9f828 |
|
MD5 | 0369be21ad2706d470969bae275c79bd |
|
BLAKE2b-256 | d182b5567505c3c93bdc89d80b1033a8728a1a9dc7e26dff1dcfdb7606088e6b |
File details
Details for the file PyPlatec-1.2.8-cp27-none-win_amd64.whl
.
File metadata
- Download URL: PyPlatec-1.2.8-cp27-none-win_amd64.whl
- Upload date:
- Size: 198.4 kB
- Tags: CPython 2.7, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec91f1b6ebd9b585bd21758325ba9cc128746a8285e48d7e91703ef3c43bf771 |
|
MD5 | b0800c0557f6d23256630665b25e2c8b |
|
BLAKE2b-256 | 5f1f7bf403a817d9142c5fa45943b92a92b6b589fabb8cd7be52cb47ef41ce3c |