Skip to main content

Surface Explorer — Multi-Variable Function Visualizer

An interactive Tkinter application for visualizing multi-variable functions. Pick variable values on the left panel and watch the resulting plot update in real-time on the right.

Features

  • Dynamic number of variables: Set any n ≥ 1
  • Interactive variable pickers: Click on 2D plots to pick values for pairs of variables
  • Real-time updates: Plots update instantly as you change variables
  • Multiple plot types:
    • n = 1: 2D line plot of x₁ vs f(x₁)
    • n = 2: 3D surface plot of f(x₁, x₂)
    • n ≥ 3: Final variable plot (3D surface for even n, line graph for odd n)
  • Scrollable variable panel: Easily access all variable pickers for large n
  • Custom functions: Enter any mathematical expression using standard Python/numpy syntax

Usage

  1. Set the number of variables (n)
  2. Enter a function of x₁, x₂, ..., xₙ
  3. Click the Update button or press Enter
  4. Pick values for variables using the 2D plots on the left
  5. Adjust the z/w ranges in the right panel to zoom in/out

Function Syntax

Use standard Python/numpy functions:

sqrt(x1**2 + x2**2 + x3**2 + x4**2)
sin(x1) * cos(x2) + exp(-x3**2)
x1*x2*x3*x4 / (1 + x1**2 + x2**2 + x3**2 + x4**2)

Available functions: sin, cos, tan, exp, log, log10, sqrt, abs, sinh, cosh, tanh, arcsin, arccos, arctan, log2, ceil, floor, maximum, minimum, pow, pi, e

Requirements

  • Python 3.7+
  • tkinter
  • numpy
  • matplotlib

Installation

git clone https://github.com/fredjt/surface-explorer.git
cd surface-explorer
python surface_explorer.py

Metadata

Release files for surface-explorer 1.0.0

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

Source distribution (sdist)

Source distribution for surface-explorer 1.0.0
File Size Uploaded Provenance Actions
surface_explorer-1.0.0.tar.gz 8.5 kB Without provenance Details for surface_explorer-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for surface-explorer 1.0.0
File Interpreter ABI Platform Actions
surface_explorer-1.0.0-py3-none-any.whl Python 3 none any Details for surface_explorer-1.0.0-py3-none-any.whl

Total release size: 16.7 kB

Release files / surface_explorer-1.0.0.tar.gz

Download URL surface_explorer-1.0.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3e9fc2912d8ac19a5df2bdddcd27fdf69d0012e4188b635774b58e61efbbdbfa
BLAKE2b-256 checksum
How to use checksums
61374d547442cf4e56cc817d76df7b72dbf7638a08f927d09f56dd5236da52c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / surface_explorer-1.0.0-py3-none-any.whl

Download URL surface_explorer-1.0.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc0b13828fd5e672a5ec75040ea6f6a5ec6102500546436e6112da3a9942dcd2
BLAKE2b-256 checksum
How to use checksums
939c49f6b6f0ade228c0189675806a569c767b35eceff06851715b85ee430c67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for surface-explorer 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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