Loading NextCalc Pro
Initializing calculator engine...
Initializing calculator engine...
GPU-accelerated mathematical visualization with real-time interactions
Cartesian Presets
Supported functions: sin, cos, tan, exp, log, sqrt, abs, etc.
Use standard operators: +, -, *, /, ^ (power)
Constants: pi (π), e, tau (τ)
Interactive plot with pan and zoom controls. Drag to pan, scroll to zoom.
Rendering visualization...
Preparing GPU-accelerated plot
Values computed numerically. Accuracy depends on function smoothness and viewport zoom level.
import { Plot2D } from '@nextcalc/web/components/plots';
const config = {
type: '2d-cartesian',
functions: [
{ fn: (x) => Math.sin(x), label: 'sin(x)' },
{ fn: (x) => Math.cos(x), label: 'cos(x)' },
],
viewport: { xMin: -6.28, xMax: 6.28, yMin: -1.5, yMax: 1.5 },
};
<Plot2D config={config} />Initializing renderer...