Giter Club home page Giter Club logo

quads's People

Contributors

fogleman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quads's Issues

Awesome..

I'm mostly amazed that you rewrote the entire thing in javascript for the web version.. wow

no issue.

TypeError: integer argument expected, got float

First of all thanks for this! I'm doing some visual experiments with this but I get the following when python main.py example.png:

1 49.6791813927697 2 44.536910327764055 3 39.91618908262801 4 39.04791319794365 5 35.82065887614508 6 32.903885446601905 7 32.326656149530756 8 31.714629322062837 10 31.140527906852704 14 30.613942522457467 18 29.42850703649822 20 28.452708100795892 26 27.83647822542313 33 26.858610254863855 43 25.775960929898222 55 25.270909080544094 67 24.678935588991983 83 24.16320784114418 84 23.433750446224078 111 22.89905634295383 161 22.390065776883368 211 21.88953562147702 283 21.379515331465882 322 20.87853839260973 429 20.37431830735203 487 19.664391058523808 589 19.159472748595544 723 18.657686967639428 834 17.949467911576072 Traceback (most recent call last): File "main.py", line 157, in <module> main() File "main.py", line 143, in main model.render('output.png') File "main.py", line 124, in render draw.rectangle(box, quad.color) File "usr/miniconda3/lib/python3.6/site-packages/PIL/ImageDraw.py", line 245, in rectangle ink, fill = self._getink(outline, fill) File "usr/miniconda3/lib/python3.6/site-packages/PIL/ImageDraw.py", line 119, in _getink fill = self.draw.draw_ink(fill, self.mode) TypeError: integer argument expected, got float

Do you know how to fix it? I'm on python 3.6.7. Many thanks.

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.