Skip to main content

Plates simulation library

Project description

PyPlatec
========

Linux build
[![Build Status](https://travis-ci.org/ftomassetti/pyplatec.svg?branch=master)](https://travis-ci.org/ftomassetti/pyplatec)

Windows build
[![Build status](https://ci.appveyor.com/api/projects/status/3qh8txg5bhf41fxv?svg=true)](https://ci.appveyor.com/project/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

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 [worldengine](http://github.com/Mindwerks/worldengine)

Supporting windows wheels
=========================

Through AppVeyor we build the binary distributions for windows (several python versions, both win32 and win64).
However they need to be downloaded from AppVeyor and uploaded to Pypi manually.

Project details


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.2.10.tar.gz (50.8 kB view details)

Uploaded Source

Built Distributions

PyPlatec-1.2.10-cp34-none-win_amd64.whl (42.1 kB view details)

Uploaded CPython 3.4 Windows x86-64

PyPlatec-1.2.10-cp34-none-win32.whl (33.9 kB view details)

Uploaded CPython 3.4 Windows x86

PyPlatec-1.2.10-cp33-none-win_amd64.whl (42.1 kB view details)

Uploaded CPython 3.3 Windows x86-64

PyPlatec-1.2.10-cp33-none-win32.whl (33.9 kB view details)

Uploaded CPython 3.3 Windows x86

PyPlatec-1.2.10-cp27-none-win_amd64.whl (41.2 kB view details)

Uploaded CPython 2.7 Windows x86-64

PyPlatec-1.2.10-cp27-none-win32.whl (33.9 kB view details)

Uploaded CPython 2.7 Windows x86

File details

Details for the file PyPlatec-1.2.10.tar.gz.

File metadata

  • Download URL: PyPlatec-1.2.10.tar.gz
  • Upload date:
  • Size: 50.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyPlatec-1.2.10.tar.gz
Algorithm Hash digest
SHA256 a9f89945fdfa33932bd561a06182b2fcdc96982f466d341a5113c15bf39053f2
MD5 1f58c1e324ceaeb4341220fccb307f6a
BLAKE2b-256 d33236a9e0956f03881f0f66fd0fac484a42041b11449b3160ff0f0dfb8aec4b

See more details on using hashes here.

File details

Details for the file PyPlatec-1.2.10-cp34-none-win_amd64.whl.

File metadata

File hashes

Hashes for PyPlatec-1.2.10-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 4baedc73b105e5a59473cfdf039d0dd8449c86abc3e66cf28a82352199978625
MD5 12bc7ca5cb1cd6838fc1fee6d1e32f80
BLAKE2b-256 ef28e1681e5a170b35682a344b38e7f447ca3576a650ed101679efedf1fea1c2

See more details on using hashes here.

File details

Details for the file PyPlatec-1.2.10-cp34-none-win32.whl.

File metadata

File hashes

Hashes for PyPlatec-1.2.10-cp34-none-win32.whl
Algorithm Hash digest
SHA256 c50624239016e7f4e144670b56323b2a47b171c357237b1ae273bfba18a487f5
MD5 59f6e2829f06a56cf10e3961019aa36b
BLAKE2b-256 b504c746326c69eeb973e7abe6e4218ae2e5b4471deb8e9db1c19ae2e809c637

See more details on using hashes here.

File details

Details for the file PyPlatec-1.2.10-cp33-none-win_amd64.whl.

File metadata

File hashes

Hashes for PyPlatec-1.2.10-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 42b1fff05652cc92372a782eb1ae0c92d48d9aa50e530299551d33071228cc4e
MD5 d3d1035e235c96318283a1e0398298ee
BLAKE2b-256 55f9690c468ab4f2ca85d1d617cc39690f3f8e363dc306b1908f6e8c608546c9

See more details on using hashes here.

File details

Details for the file PyPlatec-1.2.10-cp33-none-win32.whl.

File metadata

File hashes

Hashes for PyPlatec-1.2.10-cp33-none-win32.whl
Algorithm Hash digest
SHA256 70ead50625430e1511d674516fd8132de181a572c94f85595f23af5b21cfa218
MD5 78a5e748aea9a7ade480bed83ba14c6a
BLAKE2b-256 6bf7ab77f56098c94ffabcf8fe43d8003e908a4262cf0d01eaf2bc8db6ff98b8

See more details on using hashes here.

File details

Details for the file PyPlatec-1.2.10-cp27-none-win_amd64.whl.

File metadata

File hashes

Hashes for PyPlatec-1.2.10-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 fcbee6cb383d1270bf0dd5f7a0bfcd9f6f99e749e923dc45ef77d3b0dd44e4a4
MD5 e2457e605c7e823f04edd6cb713f1fc7
BLAKE2b-256 a6fd58e2c4bcf3cac10f11dc245fca63ec0d219a4930c4a88a582e33add728d4

See more details on using hashes here.

File details

Details for the file PyPlatec-1.2.10-cp27-none-win32.whl.

File metadata

File hashes

Hashes for PyPlatec-1.2.10-cp27-none-win32.whl
Algorithm Hash digest
SHA256 0b1bac98e761e647297e0d4524b71991001d3c02c341047b03edd8ba81c1c6eb
MD5 a06bcbbc334be24b20afd4a0dbff9754
BLAKE2b-256 134c2c8957e46554ba7122c2a556fcd0d18d55d3a93b176ec305507bed221341

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page