<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mozilla.org/index.php?action=history&amp;feed=atom&amp;title=Education%2FProjects%2FProcessingForTheWeb%2Fbox</id>
	<title>Education/Projects/ProcessingForTheWeb/box - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mozilla.org/index.php?action=history&amp;feed=atom&amp;title=Education%2FProjects%2FProcessingForTheWeb%2Fbox"/>
	<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/box&amp;action=history"/>
	<updated>2026-10-22T17:42:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/box&amp;diff=189934&amp;oldid=prev</id>
		<title>Anna.sobiepanek: Created page with &#039;== Summary  ==  This is a function written for Education/Projects/ProcessingForTheWeb. This function draws a 3D box on the screen.[http://processing.org/reference/sphereDetai…&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/box&amp;diff=189934&amp;oldid=prev"/>
		<updated>2009-12-16T23:40:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;== Summary  ==  This is a function written for &lt;a href=&quot;/Education/Projects/ProcessingForTheWeb&quot; title=&quot;Education/Projects/ProcessingForTheWeb&quot;&gt;Education/Projects/ProcessingForTheWeb&lt;/a&gt;. This function draws a 3D box on the screen.[http://processing.org/reference/sphereDetai…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Summary  ==&lt;br /&gt;
&lt;br /&gt;
This is a function written for [[Education/Projects/ProcessingForTheWeb]]. This function draws a 3D box on the screen.[http://processing.org/reference/sphereDetail_.html View official Reference] &lt;br /&gt;
&lt;br /&gt;
=== Examples  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 void setup()&lt;br /&gt;
 {&lt;br /&gt;
    size(500,500,OPENGL);&lt;br /&gt;
 }&lt;br /&gt;
 void draw()&lt;br /&gt;
 {&lt;br /&gt;
    background(128);&lt;br /&gt;
    box(10,10,10);&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; [[Image:box.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Syntax  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;700&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| box(size)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| box(width, height, depth)&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;700&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|size&lt;br /&gt;
|int or float: dimension of the box in all dimensions, creates a cube&lt;br /&gt;
|-&lt;br /&gt;
|width&lt;br /&gt;
|int or float: dimension of the box in the x-dimension&lt;br /&gt;
|-&lt;br /&gt;
|height&lt;br /&gt;
|int or float: dimension of the box in the y-dimension&lt;br /&gt;
|-&lt;br /&gt;
|depth&lt;br /&gt;
|int or float: dimension of the box in the z-dimension&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
&lt;br /&gt;
nothing&lt;br /&gt;
&lt;br /&gt;
=== Bugs ===&lt;br /&gt;
&lt;br /&gt;
Refer to the reference of each function for a specific bug report.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; caption=&amp;quot;Bugs&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Bug Description&lt;br /&gt;
!Fixed?(Date)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Tests ===&lt;br /&gt;
This test requires a web browser with WebGL enabled. If needed download [http://nightly.mozilla.org/ Mozilla Nightly ~ Minefield]&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Test&lt;br /&gt;
| Location&lt;br /&gt;
|-&lt;br /&gt;
| All get() functionality&lt;br /&gt;
| [http://matrix.senecac.on.ca/~asobiepa/Processing/3D/boxSlider.html box]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Anna.sobiepanek</name></author>
	</entry>
</feed>