Code Monkey home page Code Monkey logo

pixels-client's Introduction

pydis-pixels

A client for the Python Discord's Pixels event, an API-based r/place style thing.

https://pixels.pythondiscord.com/info/

I'm now repurposing it to work with different apis, specifically my friend's new project cmpc pixels

Usage

Get your token from here https://pixels.pythondiscord.com/info/authentication

Create config.json from config.template.json and fill in your token.

Install dependencies

Then run

Your own images

Add your image to the images folder.

You should name it
name,scalex,(x,y).png
e.g.
jmcb,10x,(75,2).png

Discord bot component

First get a bot token and put it in the config. This will automatically run the bot. Add the bot to your server and run pixels.startmirror {channel}. Put the resulting message ID and channel ID into your config, and you're good to go.

Compendium

A source for every image on the canvas in one place.
https://joelsgp.github.io/pixels-client/pages/
https://github.com/joelsgp/pixels-client/blob/github-pages/pages/README.md

pixels-client's People

Contributors

dependabot[bot] avatar joelsgp avatar mgdproductions avatar

Watchers

 avatar  avatar

Forkers

mgdproductions

pixels-client's Issues

Noise remover

I'll put this here instead of a todo cause I closed my ide

After running every zone, check every pixel and if it's surrounded by at least 7? pixels of the same colour, fill it with that colour

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.