Skip to main content

No project description provided

Project description

Description

An example fractal generator in python.

Usage:

  • IMPORT:
    • import pyFractaler

  • START FRACTAL:
    • angle = 90 # you angle can be 60, 130...

    • iterations = 4 # you iterations can be 7, 10...

    • fractal = pyFractal.Fractal('you code generator', angle, iterations)

    • fractal.start()

  • YOU CODE GENERATOR SYNTAX:
    • F - go forward

    • + - rotate to angle

    • - - rotate to -angle

  • EXAMPLE CODE GENERATOR:
    • F+F--F+F--F+F--F+F--F+F--F+F, 60, 7 - Koch snowflake

    • F-F+F+FFF-F-F+F+F-F+F+FFF-F-F+F+F-F+F+FFF-F-F+F+F-F+F+FFF-F-F+F, 90, 4 - Koha square island

  • ANOTHER:
    • pyFractal.RuledFractal(...) see in github.

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

pyFractaler-1.1.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file pyFractaler-1.1.tar.gz.

File metadata

  • Download URL: pyFractaler-1.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.9

File hashes

Hashes for pyFractaler-1.1.tar.gz
Algorithm Hash digest
SHA256 ce791cb3c93a82f7910d39586d0334e45d88b452e4c6b441fabf9114e423c994
MD5 45e0001eabb09d0db235291582a16d56
BLAKE2b-256 f42c6d3d37c3f2d0085f7a0618e6bf41306e8f1d36707fc09d9dae7f1be86afd

See more details on using hashes here.

Supported by

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