Modulaser
DocsBlogPricing
Documentation
Getting StartedLaser Safety
Guides
MIDIOSCDMXAudio ReactiveBPM & SyncImage ModeEffectsBuy a LaserImprove Laser OutputProjection MappingMultiple LasersPen PlotterVideo to LaserShare Your CreationsRaspberry PiCuesTimelineLibraryMacrosKeyboard Shortcuts
Node Graph
Generators
OscillatorPhasorNoiseEnvelopeSequencerAudio InputDMX InputOSC InputLaser IndexTimecodeBPM
Frame
CircleSquarePolygonStarWaveRoseRosetteSpirographSpiralWaveform TunnelParametric CurveFileVideo InputTextCamera ProjectionDuplicatorDotterColorizeLaser ChaseBrightnessMergeOutput
Math
ArithmeticMultiply AddMixFrom PolarTo PolarColorTo Channels (RGB)
Outputs
LaserCubeEther DreamHelios DACIDNLaserworld / ShowNETAVBNDI, Syphon, and Spout Output
FAQ
Getting StartedLaser Safety
Guides
MIDIOSCDMXAudio ReactiveBPM & SyncImage ModeEffectsBuy a LaserImprove Laser OutputProjection MappingMultiple LasersPen PlotterVideo to LaserShare Your CreationsRaspberry PiCuesTimelineLibraryMacrosKeyboard Shortcuts
Node Graph
Generators
OscillatorPhasorNoiseEnvelopeSequencerAudio InputDMX InputOSC InputLaser IndexTimecodeBPM
Frame
CircleSquarePolygonStarWaveRoseRosetteSpirographSpiralWaveform TunnelParametric CurveFileVideo InputTextCamera ProjectionDuplicatorDotterColorizeLaser ChaseBrightnessMergeOutput
Math
ArithmeticMultiply AddMixFrom PolarTo PolarColorTo Channels (RGB)
Outputs
LaserCubeEther DreamHelios DACIDNLaserworld / ShowNETAVBNDI, Syphon, and Spout Output
FAQ
Loading…

Documentation

  • Getting Started
  • Guides
  • Outputs
  • FAQ

Product

  • Laser Safety
  • Changelog
  • Blog
  • Manage Subscription
  • Download Classic

Connect

  • info@modulaser.app
  • GitHub
  • Instagram

© 2026 RS Product Studio B.V.

Terms of ServicePrivacy Policy
  1. Documentation
  2. /Node Graph
  3. /Math
  4. /To Polar

To Polar

Converts Cartesian X/Y/Z coordinates to spherical form: a radius (distance from origin), a phase (azimuthal angle as a 0–1 turn), and an elevation (polar angle as a 0–1 turn). Useful for analyzing or transforming positions in radial terms.

Inputs

PortTypeDefaultRangeDescription
XScalar0.0−1–1Cartesian X coordinate
YScalar0.0−1–1Cartesian Y coordinate
ZScalar0.0−1–1Cartesian Z coordinate

Outputs

PortTypeDescription
RScalarDistance from origin
Phase (θ)ScalarAzimuthal angle as a 0–1 turn
Elevation (φ)ScalarPolar angle as a 0–1 turn. 0 = north pole (+Z), 0.25 = equator (XY plane), 0.5 = south pole (−Z)

Ideas

  • Convert position to polar, modify the radius, angle, or elevation with math nodes, then convert back with From Polar for radial distortion effects.
  • Extract the angle of a moving point to drive color or other parameters based on rotational position.
  • Feed 3D content through To Polar, manipulate in spherical space, then back through From Polar for spherical warping effects.

Related

  • From Polar: the inverse conversion (angle/radius/elevation to X/Y/Z)
  • Arithmetic: modify radius, angle, or elevation values before converting back
Previous
From Polar
Next
Color