Coder Social home page Coder Social logo

noamaig / euclidean_orbifolds Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 2.0 50.69 MB

Matlab implementation of the 2015 Siggraph Asia paper, "Orbifold Tutte Embeddings".

MATLAB 100.00%
orbifold-embeddings meshes tutte-embedding euclidean-orbifolds parameterization bijection orbifolds tiling bijective-maps harmonic-maps

euclidean_orbifolds's Introduction

Orbifold Tutte Embeddings

Matlab code implementing the Siggraph Asia 2015 paper, "Orbifold Tutte Embeddings".

An extension of Tutte's embedding to domains with sphere topology, and also to disks, where the boundary is free to move.

Main high-level functions:

  • flatten_sphere - embed a sphere mesh to a sphere orbifold.
  • flatten_disk - embed a disk mesh to a disk orbifold.
  • map_spheres - compute a map between two sphere meshes using the orbifold embeddings.
  • map_disks - compute a map between two disk meshes using the orbifold embeddings.

There are 17 Euclidean orbifolds, of which only the 4 sphere orbifolds, and 2 disk orbifolds are implemented here. The 11 other cases can be easily implemented, if one wishes, by extending the cutting mechanism (needs to produce a cut-graph that opens the mesh into a disk) and the appropriate boundary conditions.

Example scripts:

  • script_embed_sphere - map a spherical mesh to the Euclidean orbifold of type I.
  • script_embed_sphere_4_points - map a spherical mesh to the Euclidean orbifold of type IV, first with the initial embedding, and then after modifying the configuration so as to minimize conformal distortion.
  • script_embed_disk - map a mesh with disk topology to a disk orbifold.
  • script_surface_map_spheres - use the sphere orbifold embedding to compute a seamless, conformal map between two human heads which interpolates 3 given correspondences, and then visualize the map with a cute animation of a morph between the two meshes.
  • script_surface_map_disk - use the disk orbifold embedding to compute a conformal map between two disk-meshes which interpolates 3 designated points on the boundary.

The code is provided as-is for academic use only and without any guarantees. Please contact the author to report any bugs. Written by Noam Aigerman.

euclidean_orbifolds's People

Contributors

noamaig avatar

Stargazers

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

Watchers

 avatar

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.