[Python] Coding and Animating Folding Paper (origami) into a Pyramid

Discussão em 'Python' iniciado por Stack, Agosto 22, 2025.

  1. Stack

    Stack Membro Participativo

    I want to be able to animate the folding of this 2D shape (paper) into a 3D solid. [​IMG]

    Each of these 'folding fish' will fold into 1/8th of a square based pyramid as shown below. (If you view this as paper to fold into a solid, the circle arcs and arrows are meant to show which corners align with which corners after folding.)

    [​IMG]

    I tried using this origami program but it tries to fold the shape flat, but I need the three corners to align after folding.

    [​IMG]

    The above image is close to what I want to achieve, the Origami program is coded with WebVR and I know a little python. If anybody can help and provide and relevant information (programs and code snippets). Ideally I want to be able to change the value (A/B) and want the faces to have some transparency. I know enough to know that this is very difficult. Thank you.

    Continue reading...

Compartilhe esta Página