Giter Club home page Giter Club logo

sle's Introduction

Schramm-Loewner Evolution Visualiser

A Python program for displaying Schramm-Loewner Evolution. Set up to use the driving function of brownian motion. Does very dumb approximation of differential equations.

Can be run from the command line as ./animate.py or within Python using animate.draw_sle()

levy() uses brownian motion with randomly added jumps (the sizes of the jumps follow a normal distribution).

It should be easy to change the resolution (both space and time), the scale of the brownian motion driving it, and the driving function itself. The colouring shouldn't be too hard to change.

sample commands: python3 animate.py see a full list of options python3 animate.py --help adjust the brownian motion scale python3 animate.py --kappa=2

increase time resolution python3 animate.py --dt 0.0001 increase spatial resolution python3 animate.py --xn 500

enter a custom driving function python3 animate.py --zeta "lambda t: t**0.5"

driven by a levy process with no brownian motion component python3 animate.py --zeta "levy(kappa=0, jumpfreq=3)" --scale "lambda t:t" --dt 0.0002

another levy process python3 animate.py --zeta "levy(kappa=0, jumpfreq=5, jumpdist=lambda rng:rng.exponential())" --scale "lambda t:t" --dt 0.0002 --xmin -0.1 --xmax 10 --ymax 2 --xn 500

note: draw.py is out of date. You're better off adapting animate.py.

sle's People

Contributors

penteract avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.