$npx skillfedfor your agent

isosurfaces

Construct isolines/isosurfaces over a 2D/3D scalar field defined by a function (not a uniform grid)

With conditionsPyPI MathematicsReleased Feb 2024182.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — isosurfaces-0.1.2-py3-none-any.whl
v0.1.2 · released 2024-02-26 · Python >=3.8 · 1 runtime deps: numpy

Yes, if you need to extract isolines or isosurfaces from implicit functions and want an adaptive alternative to uniform grid methods. The low install friction and permissive license make it accessible. However, note that maintenance is aging (last update February 2024, no commits in over 900 days)—suitable for stable use cases, but not for projects requiring active development or rapid bug fixes.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with only numpy as a runtime dependency.
  • Maintenance status is aging—last release was in February 2024 and the repository has not been updated in over 900 days, though it remains active and unarchived.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you may use, modify, and distribute this package freely with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2024-02-26 (900 days) · last repo commit 2025-03-03 · 39 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 182,935 downloads/mo, #10,081 on PyPI

Verify before relying

from isosurfaces import plot_isoline
import numpy as np

def f(x, y):
    return y * (x - y) ** 2 - 4 * x - 8

curves = plot_isoline(
    lambda u: f(u[0], u[1]),
    np.array([-8, -6]),
    np.array([8, 6]),
    min_depth=3,
    max_quads=1000,
)
for curve in curves:
    print(curve)
  • Whether the quadtree approach provides meaningful performance gains over grid-based methods for typical use cases.
  • API stability and whether breaking changes are likely given the aging maintenance status.
  • Whether 3D isosurface generation is fully implemented or still experimental.
Same gist for agents: .md · .json

What it is and what it does

Isosurfaces is a Python library for extracting level curves (isolines in 2D) and level surfaces (isosurfaces in 3D) from scalar fields defined by mathematical functions. Rather than sampling uniformly over a grid like traditional marching squares algorithms, it uses a quadtree-based adaptive sampling strategy to focus computational effort on regions where the implicit surface actually exists, avoiding wasted samples in empty space.

The library implements the approach from a 2010 Computer Graphics Forum paper on isosurfaces over simplicial partitions of multiresolution grids. It depends only on numpy and is typed, supporting Python 3.8 through 3.12. You provide a function f(x, y) or f(x, y, z), a bounding box, and parameters controlling sampling depth and density, and it returns the curves or surfaces as collections of points.

Use it for

  • Visualizing level curves of mathematical functions for educational or exploratory analysis.
  • Extracting contours from 2D scalar fields (e.g., temperature, pressure, or potential maps) more efficiently than uniform grid sampling.
  • Generating 3D isosurfaces from volumetric data defined implicitly by a function.
  • Creating topographic-style maps or contour plots where adaptive sampling avoids redundant computation.
  • Prototyping geometric algorithms that require accurate implicit surface representation without full grid evaluation.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to extract isolines or isosurfaces from implicit functions and want an adaptive alternative to uniform grid methods.

The low install friction and permissive license make it accessible. However, note that maintenance is aging (last update February 2024, no commits in over 900 days)—suitable for stable use cases, but not for projects requiring active development or rapid bug fixes.

Install

isosurfaces on PyPI

Before you install

Low friction: pure Python wheel with only numpy as a runtime dependency. Maintenance status is aging—last release was in February 2024 and the repository has not been updated in over 900 days, though it remains active and unarchived.

License in practice

MIT license is permissive; you may use, modify, and distribute this package freely with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

from isosurfaces import plot_isoline
import numpy as np

def f(x, y):
    return y * (x - y) ** 2 - 4 * x - 8

curves = plot_isoline(
    lambda u: f(u[0], u[1]),
    np.array([-8, -6]),
    np.array([8, 6]),
    min_depth=3,
    max_quads=1000,
)
for curve in curves:
    print(curve)

Verify before relying

  • Whether the quadtree approach provides meaningful performance gains over grid-based methods for typical use cases.
  • API stability and whether breaking changes are likely given the aging maintenance status.
  • Whether 3D isosurface generation is fully implemented or still experimental.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
numpy
MaintenanceAging 900 days since the last release
Last repo commit
First released
Downloads182,935 / month, #10,081 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Typed

Evidence: isosurfaces-0.1.2-py3-none-any.whl

Tags

Capabilities
isoline extraction from functionisosurface generation 2d 3dcontour curves level setsimplicit surface samplingquadtree-based contouringscalar field visualizationmarching squares alternative
Topics
computational-geometryimplicit-surfacesadaptive-sampling

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “isoline extraction from function”

  • isosurfacesConstructs isolines and isosurfaces of 2D and 3D scalar fields…
  • docstring-parserParses Python docstrings in ReST, Google, Numpydoc, and Epydoc…
  • funcsigsProvides Python function signature introspection (PEP 362) for Python…

Give your agent the search over MCP, or paste the wish link into any chat.

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also cu2qu · xtgeo · opensimplex · kneed · rdp · fill-voids · pyclothoids · ocp-gordon · geoh5py