circuitpython-noise


Namecircuitpython-noise JSON
Version 1.0.1 PyPI version JSON
download
home_page
SummarySimplex noise (like Perlin) for CircuitPython
upload_time2023-02-07 01:34:16
maintainer
docs_urlNone
author
requires_python
licenseMIT
keywords adafruit blinka circuitpython micropython noise noise simplex perlin gradient
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============




.. image:: https://img.shields.io/discord/327254708534116352.svg
    :target: https://adafru.it/discord
    :alt: Discord


.. image:: https://github.com/todbot/CircuitPython_Noise/workflows/Build%20CI/badge.svg
    :target: https://github.com/todbot/CircuitPython_Noise/actions
    :alt: Build Status


.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: Code Style: Black

Simplex noise (like Perlin) for CircuitPython

Dependencies
=============
This driver depends on:

* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_

Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Adafruit library and driver bundle <https://circuitpython.org/libraries>`_
or individual libraries can be installed using
`circup <https://github.com/adafruit/circup>`_.

Installing to a Connected CircuitPython Device with Circup
==========================================================

Make sure that you have ``circup`` installed in your Python environment.
Install it with the following command if necessary:

.. code-block:: shell

    pip3 install circup

With ``circup`` installed and your CircuitPython device connected use the
following command to install:

.. code-block:: shell

    circup install noise

Or the following command to update an existing version:

.. code-block:: shell

    circup update


Usage Example
=============

.. code-block:: python

    import time
    from noise import noise

    i=0
    while True:
        n = noise(0.02 * i)
        i += 1
        # print a random terrain with asterisks
        print( " " * int(max(n+1,0) * 40), "*")
        time.sleep(0.01)


Documentation
=============
API documentation for this library can be found on `Read the Docs <https://circuitpython-noise.readthedocs.io/>`_.

For information on building library documentation, please check out
`this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.

Contributing
============

Contributions are welcome! Please read our `Code of Conduct
<https://github.com/todbot/CircuitPython_Noise/blob/HEAD/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "circuitpython-noise",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "adafruit,blinka,circuitpython,micropython,noise,noise,simplex,perlin,gradient",
    "author": "",
    "author_email": "Adafruit Industries <circuitpython@adafruit.com>",
    "download_url": "https://files.pythonhosted.org/packages/ff/8b/979d8370d43178e5e37d7d98e2a5be0c42e13e76e60e4f3a732ec97ac145/circuitpython-noise-1.0.1.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\n\n\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n\n.. image:: https://github.com/todbot/CircuitPython_Noise/workflows/Build%20CI/badge.svg\n    :target: https://github.com/todbot/CircuitPython_Noise/actions\n    :alt: Build Status\n\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n    :alt: Code Style: Black\n\nSimplex noise (like Perlin) for CircuitPython\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle <https://circuitpython.org/libraries>`_\nor individual libraries can be installed using\n`circup <https://github.com/adafruit/circup>`_.\n\nInstalling to a Connected CircuitPython Device with Circup\n==========================================================\n\nMake sure that you have ``circup`` installed in your Python environment.\nInstall it with the following command if necessary:\n\n.. code-block:: shell\n\n    pip3 install circup\n\nWith ``circup`` installed and your CircuitPython device connected use the\nfollowing command to install:\n\n.. code-block:: shell\n\n    circup install noise\n\nOr the following command to update an existing version:\n\n.. code-block:: shell\n\n    circup update\n\n\nUsage Example\n=============\n\n.. code-block:: python\n\n    import time\n    from noise import noise\n\n    i=0\n    while True:\n        n = noise(0.02 * i)\n        i += 1\n        # print a random terrain with asterisks\n        print( \" \" * int(max(n+1,0) * 40), \"*\")\n        time.sleep(0.01)\n\n\nDocumentation\n=============\nAPI documentation for this library can be found on `Read the Docs <https://circuitpython-noise.readthedocs.io/>`_.\n\nFor information on building library documentation, please check out\n`this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n<https://github.com/todbot/CircuitPython_Noise/blob/HEAD/CODE_OF_CONDUCT.md>`_\nbefore contributing to help this project stay welcoming.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Simplex noise (like Perlin) for CircuitPython",
    "version": "1.0.1",
    "split_keywords": [
        "adafruit",
        "blinka",
        "circuitpython",
        "micropython",
        "noise",
        "noise",
        "simplex",
        "perlin",
        "gradient"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "80b3d4e165841f3fadc40edc0755a91b3cac9d9bd9251e514cb690ed096acb8d",
                "md5": "07323f9244a9028871ef700049972bc8",
                "sha256": "a58c6a6917b71951455bf98f67b088211b11353d0073a4c45a12b1e86cce94b9"
            },
            "downloads": -1,
            "filename": "circuitpython_noise-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "07323f9244a9028871ef700049972bc8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5036,
            "upload_time": "2023-02-07T01:34:14",
            "upload_time_iso_8601": "2023-02-07T01:34:14.273072Z",
            "url": "https://files.pythonhosted.org/packages/80/b3/d4e165841f3fadc40edc0755a91b3cac9d9bd9251e514cb690ed096acb8d/circuitpython_noise-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ff8b979d8370d43178e5e37d7d98e2a5be0c42e13e76e60e4f3a732ec97ac145",
                "md5": "26f2ca97779011ddfedab9fb44bd1739",
                "sha256": "df70a731dd940cbbb1b91e7f6601ddb1243c0a46d4c4e4ae59001a218543be38"
            },
            "downloads": -1,
            "filename": "circuitpython-noise-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "26f2ca97779011ddfedab9fb44bd1739",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 27269,
            "upload_time": "2023-02-07T01:34:16",
            "upload_time_iso_8601": "2023-02-07T01:34:16.323541Z",
            "url": "https://files.pythonhosted.org/packages/ff/8b/979d8370d43178e5e37d7d98e2a5be0c42e13e76e60e4f3a732ec97ac145/circuitpython-noise-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-07 01:34:16",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "circuitpython-noise"
}
        
Elapsed time: 0.03691s