GithubHelp home page GithubHelp logo

polynfinite's Introduction

Polynfinite

Codacy Badge

A python script that creates wallpapers using a base polygon

A huge oversampling with lots of iterations and a line width of '1' creates really smooth renders

First example
Size: 1920x1080.
Background color: (0, 0, 0)
Oversampling: 10
Polygon used: [(-4005, -504), (-7505, 4612), (36468, -3867), (8344, 20502), (21456, 14881)]
Line width: 1.
Ratio: 0.01.
Iterations: 1000.
(Colors: red=0, green="CENTER", blue=255)

Combining some colors!

Second example
Size: 1920x1080.
Background color: (0, 0, 0)
Oversampling: 2
Polygon used: [(-2028, 3629), (3317, 3666), (5134, 4074), (6086, 2574), (1142, -761)]
Line width: 2.
Ratio: 0.01.
Iterations: 100.
(Colors: red="CENTER", green="EXTERIOR", blue=255)

No oversampling, a low number of iterations and a line width of '1' creates pixelated renders

Third example
Size: 640x480.
Background color: (0, 0, 0)
Oversampling: 1
Polygon used: [(-594, 80), (463, 682), (-599, 833), (1151, 96), (575, -366), (914, 910)]
Line width: 1.
Ratio: 0.05.
Iterations: 64.
(Colors: red=255, green=255, blue=255)

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.