Skip to main content

esel3d

Esel3D is an interactive playground to visualize math in three spatial dimensions. It is a 3D plotter for curves, surfaces, shapes and more. The redering uses BabylonJS game engine to produce vibrant visuals and provides intuitive controls right inside a Google Colab cell.

Install

#in the first Colab cell
!pip install esel3d

*esel3d will also work with a local Jupyter notebook but with extra configuration. However, it's a bit hacky. Once I find a permanent solution, I'll update. 

Example Usage

from esel3d import plot3d
import numpy as np

#define boundary condition and plot resolution
x_initial = -2
x_final = 2
y_initial = -1
y_final = 1

resolution = 0.1

#define function
def func(x, y):
  return -np.power(x, 2)

#create instance and plot.
#instance creation and plot must be in the same cell. 

plt3d = plot3d()
plt3d.surface(func, [xinitial, xfinal], [yinitial, yfinal], resolution)
plt3d.plot()

Navigate

Explore and view the plot from all angles in 3D space. Fig:1

Configurable

Add custom labels. Change the color scheme of the axis. Chose the background color which is the most appealing. Plot up to 3 sufaces. Fig:2 Fig:5 Fig:3

Inspect

With the point explorer gizmo, users can view point location.

Fig:4

Tutorials and Examples

Tuts and examples will be provided in the form of YouTube videos with accompanying example notebooks.

Demo-Notebook

TODO

  • Add configs for Jupyter Notebook compatibility
  • Add animation option
  • Make 3D cylindrical grid
  • Make 3D polar grid
  • Make vector field plot

Release files for esel3d 0.1.48

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for esel3d 0.1.48
File Size Uploaded
esel3d-0.1.48.tar.gz 20.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for esel3d 0.1.48
File Interpreter ABI Platform
esel3d-0.1.48-py3-none-any.whl Python 3 none any Details

Total release size: 39.2 kB

Release files / esel3d-0.1.48.tar.gz

Download URL esel3d-0.1.48.tar.gz
Size 20.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9067b9427f316cdb8cdbc3c80cd194625583d0289e427c4d20e3d942f1eee62d
BLAKE2b-256 checksum
How to use checksums
536bbc992513c023ba8eab8b3d4a2d3a2c5aaba03660170700ec4092735deb9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / esel3d-0.1.48-py3-none-any.whl

Download URL esel3d-0.1.48-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5bea43b327551b6a33a657fef9a10636c062236ac8410df0c22d57c8eaf59d8b
BLAKE2b-256 checksum
How to use checksums
dd6f63ffc34996e957de386e25c8144ba1fe04394e9c7d80c4fd0886cba1e41a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release history Release notifications | RSS feed

This release

0.1.48 This release

2 release files

0.1.47

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page