Git Product home page Git Product logo

Comments (3)

jdan avatar jdan commented on August 15, 2024

Heya @twaddle,

I'm late to answer this one, sorry! I'm unable to repro in the playground, I entered the following code:

var Point  = Isomer.Point;
var Shape  = Isomer.Shape;

var iso = new Isomer(document.getElementById("canvas"));
iso.scale = 0.5;
iso.add(Shape.Prism(Point.ORIGIN, 1, 1, 400));

but didn't see anything upside down. Do you have another example of code that doesn't work? Will reopen if so, thanks!

from isomer.

stultiloquence avatar stultiloquence commented on August 15, 2024

Sorry, I miscommunicated. What I was trying to say is that for enormously large numbers, like 400000, the pyramid is upside down; I realize that one might not care to support such sizes. The code I posted above still produced the same result, although it doesn't happen if you include the line iso.scale = 0.5;.

from isomer.

jdan avatar jdan commented on August 15, 2024

Would you mind posting a screenshot? I'm unable to get the prism to go upside down.

Even though it's a big number it still sounds like a bug :)

from isomer.

Related Issues (20)

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.