{"version":1,"pages":[{"id":"qvAC54SJ27DXs1j5ZYz5","title":"Getting Started","pathname":"/p5-python-web","siteSpaceId":"sitesp_ldyTs","description":"How to get up and running with p5-python-web"},{"id":"0zh9qALuoXDP9YCTgd7K","title":"Simple mode","pathname":"/p5-python-web/simple-mode","siteSpaceId":"sitesp_ldyTs","description":"Use the p5 Python starter template, but without the hassle of starting with setup(), or worrying about the difference between setup() and draw()"},{"id":"XTTffs1r8vl1zGqiaIrs","title":"Shapes","pathname":"/p5-python-web/reference/shapes","siteSpaceId":"sitesp_ldyTs","description":"the fundamental feature of p5 is that drawing shapes is easy! 2D and 3D shapes are available","breadcrumbs":[{"label":"Reference"}]},{"id":"gXLM5IXQ6v5IJgFWq8n3","title":"2D","pathname":"/p5-python-web/reference/shapes/2d","siteSpaceId":"sitesp_ldyTs","description":"These pages explain how to use the 2D primitives in the library","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"}]},{"id":"OxYPxN0cfPSNJSpVd6uH","title":"point()","pathname":"/p5-python-web/reference/shapes/2d/point","siteSpaceId":"sitesp_ldyTs","description":"Point - Draws a point with the given inputs","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"2D"}]},{"id":"5nCMcvPYoHpCvlil33io","title":"line()","pathname":"/p5-python-web/reference/shapes/2d/line","siteSpaceId":"sitesp_ldyTs","description":"Line - Draws a line segment with the given inputs","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"2D"}]},{"id":"bYA8nmT3d2kivYhnTZhs","title":"rect()","pathname":"/p5-python-web/reference/shapes/2d/rect","siteSpaceId":"sitesp_ldyTs","description":"Rectangle - Draws a rectangle with the given inputs","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"2D"}]},{"id":"0KBHWuXtsMwYz68tCFgZ","title":"square()","pathname":"/p5-python-web/reference/shapes/2d/square","siteSpaceId":"sitesp_ldyTs","description":"Square - Draws a square with the given inputs","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"2D"}]},{"id":"PVut8Jqx4H1yM1DBZqmq","title":"triangle()","pathname":"/p5-python-web/reference/shapes/2d/triangle","siteSpaceId":"sitesp_ldyTs","description":"Triangle - Draws a triangle with the given inputs","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"2D"}]},{"id":"9Opzr26lkq8uuLxN9zaq","title":"circle()","pathname":"/p5-python-web/reference/shapes/2d/circle","siteSpaceId":"sitesp_ldyTs","description":"Circle - Draws a Circle with the given inputs","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"2D"}]},{"id":"iU8vWALUatJ7eChPtL9R","title":"ellipse()","pathname":"/p5-python-web/reference/shapes/2d/ellipse","siteSpaceId":"sitesp_ldyTs","description":"Ellipse - Draws an Ellipse with the given inputs","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"2D"}]},{"id":"lNgCl27bUCyoDWGVk6Nn","title":"arc()","pathname":"/p5-python-web/reference/shapes/2d/arc","siteSpaceId":"sitesp_ldyTs","description":"Arc - Draws an Arc with the given inputs","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"2D"}]},{"id":"B5bAYHA6MXTv8SL3O0q9","title":"quad()","pathname":"/p5-python-web/reference/shapes/2d/quad","siteSpaceId":"sitesp_ldyTs","description":"Quadrilateral - Draws a Quadrilateral with the given inputs","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"2D"}]},{"id":"jVnKGipQpOr3YyWXEqXS","title":"beginShape()","pathname":"/p5-python-web/reference/shapes/2d/beginshape","siteSpaceId":"sitesp_ldyTs","description":"Draws a polygon with any number of given vertices.","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"2D"}]},{"id":"LDtyQAya2eWJgnn249Ha","title":"3D","pathname":"/p5-python-web/reference/shapes/3d","siteSpaceId":"sitesp_ldyTs","description":"These pages explain how to use the 3D primitives in the library","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"}]},{"id":"fpzbbvkByr4h3ZLDnde9","title":"plane()","pathname":"/p5-python-web/reference/shapes/3d/plane","siteSpaceId":"sitesp_ldyTs","description":"Plane - Draws a flat 2D bounded surface in 3D","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"3D"}]},{"id":"IHvUz7BV3liVN2DXrcpE","title":"box()","pathname":"/p5-python-web/reference/shapes/3d/box","siteSpaceId":"sitesp_ldyTs","description":"Box - Draws a cuboid/rectangular prism","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"3D"}]},{"id":"JDUepf4kMfcUWamByViM","title":"sphere()","pathname":"/p5-python-web/reference/shapes/3d/sphere","siteSpaceId":"sitesp_ldyTs","description":"Sphere - Draws a 2-sphere (sphere in 3D space)","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"3D"}]},{"id":"KidbnZU2KBbtAqf8Uvrq","title":"cone()","pathname":"/p5-python-web/reference/shapes/3d/cone","siteSpaceId":"sitesp_ldyTs","description":"Cone - Draws a cone in 3D space","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"3D"}]},{"id":"QpfTUKp8ZZbxUaU7osRT","title":"cylinder()","pathname":"/p5-python-web/reference/shapes/3d/cylinder","siteSpaceId":"sitesp_ldyTs","description":"Cylinder - draws a cylinder in 3D space","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"3D"}]},{"id":"bdE32r8Fx4IV4gWuK2OA","title":"ellipsoid()","pathname":"/p5-python-web/reference/shapes/3d/ellipsoid","siteSpaceId":"sitesp_ldyTs","description":"Ellipsoid - Draws an ellipsoid/deformed sphere in 3D s[ace","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"3D"}]},{"id":"eUaUMz8WQP6Qke9PDytJ","title":"torus()","pathname":"/p5-python-web/reference/shapes/3d/torus","siteSpaceId":"sitesp_ldyTs","description":"Torus - Draws a Torus or Donut-like shape in 3D space","breadcrumbs":[{"label":"Reference"},{"label":"Shapes"},{"label":"3D"}]},{"id":"oxaqwjOio5akuwdDPbP9","title":"Controlling the environment","pathname":"/p5-python-web/reference/controlling-the-environment","siteSpaceId":"sitesp_ldyTs","description":"These functions control other aspects of the canvas, or the modes of various drawing functions","breadcrumbs":[{"label":"Reference"}]},{"id":"rXynOKNFCigvuHzcnWQ3","title":"coordinateMode()","pathname":"/p5-python-web/reference/controlling-the-environment/coordinatemode","siteSpaceId":"sitesp_ldyTs","description":"changes where the coordinates originate from","breadcrumbs":[{"label":"Reference"},{"label":"Controlling the environment"}]},{"id":"Z2ZbfiNWmThy7SLHAQEL","title":"rectMode()","pathname":"/p5-python-web/reference/controlling-the-environment/rectmode","siteSpaceId":"sitesp_ldyTs","description":"changes the way a rectangle is drawn from the inputs","breadcrumbs":[{"label":"Reference"},{"label":"Controlling the environment"}]},{"id":"z5t79YZ67zjyRHez1V1I","title":"ellipseMode()","pathname":"/p5-python-web/reference/controlling-the-environment/ellipsemode","siteSpaceId":"sitesp_ldyTs","description":"changes the way an ellipse is drawn from the inputs","breadcrumbs":[{"label":"Reference"},{"label":"Controlling the environment"}]},{"id":"ichyVyDcJ4Ae6nnvy7Sp","title":"frameRate()","pathname":"/p5-python-web/reference/controlling-the-environment/framerate","siteSpaceId":"sitesp_ldyTs","description":"changes the number of frames drawn per second","breadcrumbs":[{"label":"Reference"},{"label":"Controlling the environment"}]},{"id":"vxEvG4yOJ16BE9Maqhjo","title":"setup()","pathname":"/p5-python-web/reference/controlling-the-environment/setup","siteSpaceId":"sitesp_ldyTs","description":"Initializes the canvas","breadcrumbs":[{"label":"Reference"},{"label":"Controlling the environment"}]},{"id":"RuLY2BnzwSsmQC9FwBtB","title":"draw()","pathname":"/p5-python-web/reference/controlling-the-environment/draw","siteSpaceId":"sitesp_ldyTs","description":"Renders to the canvas repeatedly, frame by frame","breadcrumbs":[{"label":"Reference"},{"label":"Controlling the environment"}]},{"id":"uHZ6nq8Oa2BE9zkspuBi","title":"Built-in Variables","pathname":"/p5-python-web/reference/built-in-variables","siteSpaceId":"sitesp_ldyTs","description":"These variables are automatically available in all p5 sketches","breadcrumbs":[{"label":"Reference"}]},{"id":"SoMfauU0vWYzkLdVxrPh","title":"Environment","pathname":"/p5-python-web/reference/built-in-variables/environment","siteSpaceId":"sitesp_ldyTs","description":"These variables keep track of attributes of the p5 environment","breadcrumbs":[{"label":"Reference"},{"label":"Built-in Variables"}]},{"id":"AqLgTG5LXTedz86TXdXx","title":"Keyboard","pathname":"/p5-python-web/reference/built-in-variables/keyboard","siteSpaceId":"sitesp_ldyTs","description":"These built-in variables will give you information about the keyboard.","breadcrumbs":[{"label":"Reference"},{"label":"Built-in Variables"}]},{"id":"p1CEIuJr9gXlVyaKockk","title":"Mouse","pathname":"/p5-python-web/reference/built-in-variables/mouse","siteSpaceId":"sitesp_ldyTs","description":"","breadcrumbs":[{"label":"Reference"},{"label":"Built-in Variables"}]},{"id":"03epqSB9WfejFzE9VAQc","title":"Built-in Functions","pathname":"/p5-python-web/reference/built-in-functions","siteSpaceId":"sitesp_ldyTs","description":"These functions are automatically available in any p5 sketch","breadcrumbs":[{"label":"Reference"}]},{"id":"DDqZwojY0e3rpCjTjtL4","title":"keyIsDown()","pathname":"/p5-python-web/reference/built-in-functions/keyisdown","siteSpaceId":"sitesp_ldyTs","description":"Checks whether a certain key is down","breadcrumbs":[{"label":"Reference"},{"label":"Built-in Functions"}]},{"id":"vD7Mzry5YrAmR7XL6aZG","title":"millis()","pathname":"/p5-python-web/reference/built-in-functions/millis","siteSpaceId":"sitesp_ldyTs","description":"Gets system's milliseconds","breadcrumbs":[{"label":"Reference"},{"label":"Built-in Functions"}]},{"id":"mlOwhjvch3bRfcVJdVUQ","title":"second()","pathname":"/p5-python-web/reference/built-in-functions/second","siteSpaceId":"sitesp_ldyTs","description":"Gets system's second","breadcrumbs":[{"label":"Reference"},{"label":"Built-in Functions"}]},{"id":"y6hlBhuRf5UfFVAa293B","title":"minute()","pathname":"/p5-python-web/reference/built-in-functions/minute","siteSpaceId":"sitesp_ldyTs","description":"Gets system's minute","breadcrumbs":[{"label":"Reference"},{"label":"Built-in Functions"}]},{"id":"nX554BXxg9HBu5Md2KOP","title":"hour()","pathname":"/p5-python-web/reference/built-in-functions/hour","siteSpaceId":"sitesp_ldyTs","description":"Get system's hour","breadcrumbs":[{"label":"Reference"},{"label":"Built-in Functions"}]},{"id":"fAiSO5sEb6ZLuXPDUWlS","title":"translate()","pathname":"/p5-python-web/reference/built-in-functions/translate","siteSpaceId":"sitesp_ldyTs","description":"Shifts the entire coordinate system by a horizontal and vertical amount","breadcrumbs":[{"label":"Reference"},{"label":"Built-in Functions"}]},{"id":"4CX6lyxhbkzcGjthn07Z","title":"rotate()","pathname":"/p5-python-web/reference/built-in-functions/rotate","siteSpaceId":"sitesp_ldyTs","description":"Rotates the entire coordinate system around the origin","breadcrumbs":[{"label":"Reference"},{"label":"Built-in Functions"}]},{"id":"J557t60Zjq93ei9AQHlV","title":"createSlider()","pathname":"/p5-python-web/reference/built-in-functions/createslider","siteSpaceId":"sitesp_ldyTs","description":"Creates a HTML Slider element","breadcrumbs":[{"label":"Reference"},{"label":"Built-in Functions"}]},{"id":"09xNPVrvHhJ5NAgUnvyq","title":"createGraphics()","pathname":"/p5-python-web/reference/built-in-functions/creategraphics","siteSpaceId":"sitesp_ldyTs","description":"Creates an additional canvas that can be overlaid on any other existing canvases","breadcrumbs":[{"label":"Reference"},{"label":"Built-in Functions"}]},{"id":"WC9ufuG1H8Lk94i2Hhyj","title":"createVector()","pathname":"/p5-python-web/reference/built-in-functions/createvector","siteSpaceId":"sitesp_ldyTs","description":"Creates a 2D or 3D Geometric vector from coordinates","breadcrumbs":[{"label":"Reference"},{"label":"Built-in Functions"}]},{"id":"BJ8qX3oqucnitZMz6GLC","title":"Events","pathname":"/p5-python-web/reference/events","siteSpaceId":"sitesp_ldyTs","description":"These functions will automatically trigger upon certain events","breadcrumbs":[{"label":"Reference"}]},{"id":"lxJcTB8yVg3al4SV9jzw","title":"Keyboard","pathname":"/p5-python-web/reference/events/keyboard","siteSpaceId":"sitesp_ldyTs","description":"","breadcrumbs":[{"label":"Reference"},{"label":"Events"}]},{"id":"qE0CjnvKC2HOP3e96tzT","title":"keyPressed()","pathname":"/p5-python-web/reference/events/keyboard/keyboard","siteSpaceId":"sitesp_ldyTs","description":"","breadcrumbs":[{"label":"Reference"},{"label":"Events"},{"label":"Keyboard"}]},{"id":"PvZzyk8IwhBa7CDOHNii","title":"keyReleased()","pathname":"/p5-python-web/reference/events/keyboard/keyboard-1","siteSpaceId":"sitesp_ldyTs","description":"","breadcrumbs":[{"label":"Reference"},{"label":"Events"},{"label":"Keyboard"}]},{"id":"lrO28fTGvYMDZRtVX4vx","title":"Mouse","pathname":"/p5-python-web/reference/events/mouse","siteSpaceId":"sitesp_ldyTs","description":"","breadcrumbs":[{"label":"Reference"},{"label":"Events"}]},{"id":"DSLMNyBms7NSCTDpVFEv","title":"mouseMoved()","pathname":"/p5-python-web/reference/events/mouse/keyboard","siteSpaceId":"sitesp_ldyTs","description":"","breadcrumbs":[{"label":"Reference"},{"label":"Events"},{"label":"Mouse"}]},{"id":"QyZPCf9oe0aDXUIgprOt","title":"mouseDragged()","pathname":"/p5-python-web/reference/events/mouse/keyboard-1","siteSpaceId":"sitesp_ldyTs","description":"","breadcrumbs":[{"label":"Reference"},{"label":"Events"},{"label":"Mouse"}]},{"id":"VmyXxhRxWORadXzlQ713","title":"mousePressed()","pathname":"/p5-python-web/reference/events/mouse/keyboard-2","siteSpaceId":"sitesp_ldyTs","description":"","breadcrumbs":[{"label":"Reference"},{"label":"Events"},{"label":"Mouse"}]},{"id":"rgKApdHXtnNpK7hGlCkW","title":"doubleClicked()","pathname":"/p5-python-web/reference/events/mouse/keyboard-3","siteSpaceId":"sitesp_ldyTs","description":"","breadcrumbs":[{"label":"Reference"},{"label":"Events"},{"label":"Mouse"}]},{"id":"mW4KgGTcgSptXpIKqFev","title":"mouseWheel()","pathname":"/p5-python-web/reference/events/mouse/keyboard-4","siteSpaceId":"sitesp_ldyTs","description":"","breadcrumbs":[{"label":"Reference"},{"label":"Events"},{"label":"Mouse"}]},{"id":"9JmKZ3Ujek4pJcv6poYF","title":"Text","pathname":"/p5-python-web/reference/text","siteSpaceId":"sitesp_ldyTs","description":"These functions control the appearance of text on the canvas","breadcrumbs":[{"label":"Reference"}]},{"id":"WNOfp5kmQlzTh5fY9mXj","title":"text()","pathname":"/p5-python-web/reference/text/text","siteSpaceId":"sitesp_ldyTs","description":"Displays text on canvas","breadcrumbs":[{"label":"Reference"},{"label":"Text"}]},{"id":"rGO8AA4aQ0azTSOMGXH8","title":"textSize()","pathname":"/p5-python-web/reference/text/textsize","siteSpaceId":"sitesp_ldyTs","description":"Set size of text","breadcrumbs":[{"label":"Reference"},{"label":"Text"}]},{"id":"SoXotiOZHrEh8PYtzSnn","title":"textAlign()","pathname":"/p5-python-web/reference/text/textalign","siteSpaceId":"sitesp_ldyTs","description":"Set how text is aligned","breadcrumbs":[{"label":"Reference"},{"label":"Text"}]},{"id":"qdbFGuzCQtlrInISPtBC","title":"Math","pathname":"/p5-python-web/reference/math","siteSpaceId":"sitesp_ldyTs","description":"These functions give access to commonly used mathematical functions","breadcrumbs":[{"label":"Reference"}]},{"id":"1KaIPnEPjX9Cw2mxx4ci","title":"drawTickAxes()","pathname":"/p5-python-web/reference/math/drawtickaxes","siteSpaceId":"sitesp_ldyTs","description":"Draws a grid of numbered horizontal and vertical lines showing the X and Y axes of the Cartesian plane","breadcrumbs":[{"label":"Reference"},{"label":"Math"}]},{"id":"qURnDvc6pbkHMTPNimfd","title":"random()","pathname":"/p5-python-web/reference/math/random","siteSpaceId":"sitesp_ldyTs","description":"Generate a random number between two values based on a uniform probability distribution","breadcrumbs":[{"label":"Reference"},{"label":"Math"}]},{"id":"5x1bfLAyaPhG1Z6LNPOq","title":"randomGaussian()","pathname":"/p5-python-web/reference/math/randomgaussian","siteSpaceId":"sitesp_ldyTs","description":"Generate a random number based on a Gaussian probablity distribution","breadcrumbs":[{"label":"Reference"},{"label":"Math"}]},{"id":"yu824AR6BFmpcnR8qsoQ","title":"dist()","pathname":"/p5-python-web/reference/math/dist","siteSpaceId":"sitesp_ldyTs","description":"Calculate the distance between 2 points","breadcrumbs":[{"label":"Reference"},{"label":"Math"}]},{"id":"QmBcS7cko2wKDJRbvgQg","title":"linmap()","pathname":"/p5-python-web/reference/math/linmap","siteSpaceId":"sitesp_ldyTs","description":"Re-maps a number from one range to another.","breadcrumbs":[{"label":"Reference"},{"label":"Math"}]},{"id":"G0WgwI9qMXhK5WcZmkAh","title":"bounce()","pathname":"/p5-python-web/reference/math/linmap-1","siteSpaceId":"sitesp_ldyTs","description":"Returns a value that varies back and forth between 2 given limits with time. The movement is linear.","breadcrumbs":[{"label":"Reference"},{"label":"Math"}]},{"id":"vTkx4nl2VdgjFOdsd41b","title":"wave()","pathname":"/p5-python-web/reference/math/linmap-2","siteSpaceId":"sitesp_ldyTs","description":"Returns a value that varies back and forth between 2 given limits with time. The motion is wave-like, NOT linear.","breadcrumbs":[{"label":"Reference"},{"label":"Math"}]},{"id":"KY58cZuX13CO1SDtGtyP","title":"Colour and Outline","pathname":"/p5-python-web/reference/colour-and-outline","siteSpaceId":"sitesp_ldyTs","description":"These functions control colors and outlines of shapes","breadcrumbs":[{"label":"Reference"}]},{"id":"UrviG8ToVAmNBhvLIjzp","title":"colorMode()","pathname":"/p5-python-web/reference/colour-and-outline/colormode","siteSpaceId":"sitesp_ldyTs","description":"Changes how colors are specified - using (Red, Green, Blue) or (Hue, Saturation, Brightness)","breadcrumbs":[{"label":"Reference"},{"label":"Colour and Outline"}]},{"id":"TnsIeXqQs3AjWW5CFLfU","title":"fill()","pathname":"/p5-python-web/reference/colour-and-outline/fill","siteSpaceId":"sitesp_ldyTs","description":"Changes color of shape interiors","breadcrumbs":[{"label":"Reference"},{"label":"Colour and Outline"}]},{"id":"jkpMo2jIuHyMseJStxk0","title":"stroke()","pathname":"/p5-python-web/reference/colour-and-outline/stroke","siteSpaceId":"sitesp_ldyTs","description":"Changes color of lines or shape borders","breadcrumbs":[{"label":"Reference"},{"label":"Colour and Outline"}]},{"id":"iYR0XulW60pPvhSkBTiI","title":"strokeWeight()","pathname":"/p5-python-web/reference/colour-and-outline/strokeweight","siteSpaceId":"sitesp_ldyTs","description":"Changes thickness of lines","breadcrumbs":[{"label":"Reference"},{"label":"Colour and Outline"}]},{"id":"J8TUvTnbp9nbvr91hNfj","title":"background()","pathname":"/p5-python-web/reference/colour-and-outline/background","siteSpaceId":"sitesp_ldyTs","description":"Sets the background color of the canvas","breadcrumbs":[{"label":"Reference"},{"label":"Colour and Outline"}]},{"id":"5k8lxRqD81AsM6dNaD0D","title":"Images & Audio","pathname":"/p5-python-web/reference/images-and-audio","siteSpaceId":"sitesp_ldyTs","description":"These functions allow external images or audio to be used in p5 sketches","breadcrumbs":[{"label":"Reference"}]},{"id":"XDxrMIN92i0ven8Yag0u","title":"loadImage() and image()","pathname":"/p5-python-web/reference/images-and-audio/loadimage-and-image","siteSpaceId":"sitesp_ldyTs","description":"Loads an image into the code's assets","breadcrumbs":[{"label":"Reference"},{"label":"Images & Audio"}]},{"id":"M1uSwVrDyb8NnYIaYHNq","title":"loadSound()","pathname":"/p5-python-web/reference/images-and-audio/loadsound","siteSpaceId":"sitesp_ldyTs","description":"Loads a sound into the code's assets","breadcrumbs":[{"label":"Reference"},{"label":"Images & Audio"}]},{"id":"gYm6xy2VFFW38oRstuMe","title":"3D Controls","pathname":"/p5-python-web/reference/3d-controls","siteSpaceId":"sitesp_ldyTs","description":"These controls allow for moving or navigating a 3D canvas (WEBGL enabled)","breadcrumbs":[{"label":"Reference"}]},{"id":"foFYAlxLrKz4YrvYe6iJ","title":"orbitControl()","pathname":"/p5-python-web/reference/3d-controls/orbitcontrol","siteSpaceId":"sitesp_ldyTs","description":"Allows the mouse to control the 3D camera","breadcrumbs":[{"label":"Reference"},{"label":"3D Controls"}]},{"id":"G2CRvkcQ7pWTycuHW7Ij","title":"translate()","pathname":"/p5-python-web/reference/3d-controls/translate","siteSpaceId":"sitesp_ldyTs","description":"Translates the 3D coordinate system","breadcrumbs":[{"label":"Reference"},{"label":"3D Controls"}]},{"id":"1tJbRhCwELM0E7wPRXv4","title":"rotateZ()","pathname":"/p5-python-web/reference/3d-controls/rotatez","siteSpaceId":"sitesp_ldyTs","description":"Rotates in 3D around the z-axis","breadcrumbs":[{"label":"Reference"},{"label":"3D Controls"}]},{"id":"Wg0kt0hIh31vDyZxpK5j","title":"rotateX()","pathname":"/p5-python-web/reference/3d-controls/rotatex","siteSpaceId":"sitesp_ldyTs","description":"Rotates in 3D around the x-axis","breadcrumbs":[{"label":"Reference"},{"label":"3D Controls"}]},{"id":"60qwuRu7fbwdbLt8CcaO","title":"rotateY()","pathname":"/p5-python-web/reference/3d-controls/rotatey","siteSpaceId":"sitesp_ldyTs","description":"Rotates in 3D around the y-axis","breadcrumbs":[{"label":"Reference"},{"label":"3D Controls"}]},{"id":"FeaiqUoSuLhTCCcMMrIU","title":"scale()","pathname":"/p5-python-web/reference/3d-controls/scale","siteSpaceId":"sitesp_ldyTs","description":"Scales Object in 3D from the Origin","breadcrumbs":[{"label":"Reference"},{"label":"3D Controls"}]}]}