Giter Club home page Giter Club logo

bitsofpluto's Introduction

Test Python: 3.8+ Code style: Black

Mastodonbot. Toots a different bit of Pluto every six hours.

See the Mastodon bot in action at @bitsofpluto.

bitsofpluto's People

Contributors

cozydoomer avatar hugovk avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bitsofpluto's Issues

DeprecationWarning: non-integer arguments to randrange()...

python3.11 bitsofpluto.py -x -y bitsofpluto.yaml
(7000, 7000)
width, height: 600 450.0
/Users/hugo/github/bitsofpluto/bitsofpluto.py:102: DeprecationWarning: non-integer arguments to randrange() have been deprecated since Python 3.10 and will be removed in a subsequent version
  y = random.randrange(0, pluto.height - height + 1)
x, y:  3607 3531
x + width, y + height:  4207 3981.0
r, g, b, brightness:  185 176 159 173.33333333333334
r, g, b, brightness:  184 174 161 173.0
r, g, b, brightness:  172 165 153 163.33333333333334
r, g, b, brightness:  174 167 153 164.66666666666666
r, g, b, brightness:  171 167 154 164.0
r, g, b, brightness:  181 170 154 168.33333333333334
r, g, b, brightness:  179 169 152 166.66666666666666
r, g, b, brightness:  167 160 151 159.33333333333334
r, g, b, brightness:  172 164 149 161.66666666666666
total_brightness:  1494.3333333333335
total_dark_points:  0
outfile: /var/folders/p6/lf2s1s5d4kb335g2n1td8z8c0000gn/T/bitofpluto.jpg
TOOTING THIS:
 A bit of Pluto
(Test mode, not actually tooting)

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.