Giter Site home page Giter Site logo

davidbrochart / ipygany Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jupyter-widgets-contrib/ipygany

0.0 2.0 0.0 55.49 MB

3-D Scientific Visualization in the Jupyter Notebook

License: BSD 3-Clause "New" or "Revised" License

CSS 0.05% Python 68.72% JavaScript 2.85% TypeScript 28.39%

ipygany's Introduction

ipygany

Jupyter Interactive Widgets library for 3-D mesh analysis

Binder

ipygany is an early developer preview. Features and implementation are subject to change.

Features

ipygany has many features including:

  • VTK loader for displaying your computation results in the Jupyter Notebook
  • Structured and Unstructured grids support
  • 2-D cell based meshes support (quads, triangles...) as well as 3-D cell based meshes support (tetrahedrons, quadratic tetrahedrons...)
  • Animations
  • IsoColor effect
  • Warp effect
  • IsoSurface computation
  • Threshold effect (for visualizing only the parts that are inside of a range of data)
  • Point cloud visualization
  • Water effect, for nice water visualization with real-time caustics

Most of those features are very fast, because they are computed entirely on the GPU.

Examples

Animations: Dynamically update the mesh from Python (data generated with https://fastscapelib.readthedocs.io) anim

IsoColor: Use color mapping to highlight your data isocolor

Threshold: Hide parts of your mesh threshold

Water effect: Visualize your water flow data with a realistic water effect water

Installation

You can install ipygany with conda:

conda install -c conda-forge ipygany

Or using pip:

pip install ipygany
jupyter nbextension enable --py --sys-prefix ipygany

If you want to load vtk files in ipygany, you also need to install vtk, you can install it with conda:

conda install -c conda-forge vtk

For JupyterLab

You need to install the labextension for ipygany:

jupyter labextension install @jupyter-widgets/jupyterlab-manager ipygany

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.