Code Monkey home page Code Monkey logo

Comments (5)

NEO97online avatar NEO97online commented on May 18, 2024

This would be a great feature to have. In the mean time, is there any workaround to make a half-hemisphere? (A quartersphere!)

from zdog.

theohonohan avatar theohonohan commented on May 18, 2024

Would it be more flexible to offer wedges of a certain angle, say multiples of 2*pi radians? So a full circle would be 1, a quarter circle would be 0.25, etc.

from zdog.

csalmeida avatar csalmeida commented on May 18, 2024

That sounds great! Does anyone know if there's a way of changing how tall an Hemisphere is? Maybe I'm missing something but changing the width or height only makes the base larger (can be seen better if a backface color is set).

from zdog.

codecodestop avatar codecodestop commented on May 18, 2024

I realize the most recent question is years old now at the time of my reply, but I have a solution, and since others may have the same question in future, I decided it would not be 100% obnoxious to answer ~5 years later. So I couldn’t resist. :)

Since a hemisphere is nothing more than half a sphere, and a sphere has no sense of height, you might achieve something closer to what you have in mind—assuming that I’ve understood your question, which may be a risky assumption—by using a cylinder. Using the ZDog concept of using extreme ‘stroke’ values to add volume, you could make it taller by just extending the path which defines the cylinder’s dimensions.

from zdog.

theohonohan avatar theohonohan commented on May 18, 2024

from zdog.

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.