300 نص: Converts a radian measurement to its corresponding value in degrees. Radians and degrees are two ways of measuring the same thing. There are 360 degrees in a circle and 2*PI radians in a circle. For example, 90° = PI/2 = 1.5707964. All trigonometric methods in Processing require their parameters to be specified in radians. [كل اللغات] تعليقات: ترجمت من طرف ip 79.87.168.160 علّم الكل اعادة صبط الكل [حرّر ]
301 نص: int or float [كل اللغات] تعليقات: [ترجم]
302 نص: Forces the program to stop running for a specified time. Delay times are specified in thousandths of a second. The function call <b>delay(3000)</b> will stop the program for three seconds. This function causes the program to stop as soon as it is called, except if the program is running the <b>draw()</b> for the first time, it will complete the loop before stopping. [كل اللغات] تعليقات: [ترجم]
303 نص: int: specified as milliseconds (there are 1000 milliseconds in 1 second) [كل اللغات] تعليقات: [ترجم]
304 نص: Adds a directional light. Directional light comes from one direction and is stronger when hitting a surface squarely and weaker if it hits at a a gentle angle. After hitting a surface, a directional lights scatters in all directions. Lights need to be included in the <b>draw()</b> to remain persistent in a looping program. Placing them in the <b>setup()</b> of a looping program will cause them to only have an effect the first time through the loop. The affect of the <b>v1</b>, <b>v2</b>, and <b>v3</b> parameters is determined by the current color mode. The <b>nx</b>, <b>ny</b>, and <b>nz</b> parameters specify the direction the light is facing. For example, setting <b>ny</b> to -1 will cause the geometry to be lit from below (the light is facing directly upward). [كل اللغات] تعليقات: [ترجم]
305 نص: int or float: direction along the x axis [كل اللغات] تعليقات: [ترجم]
306 نص: int or float: direction along the y axis [كل اللغات] تعليقات: [ترجم]
307 نص: int or float: direction along the z axis [كل اللغات] تعليقات: [ترجم]
308 نص: Calculates the distance between two points. [كل اللغات] تعليقات: [ترجم]
309 نص: int or float: xyz-coordinate of the first point [كل اللغات] تعليقات: [ترجم]
310 نص: int or float: xyz-coordinate of the second point [كل اللغات] تعليقات: [ترجم]
311 نص: Divides the value of the second parameter by the value of the first parameter. The answer to the equation 20 / 4 is 5. The number 20 is the sum of 4 of the number 5. As an equation we see that 4 + 4 + 4 + 4 + 4 = 20. [كل اللغات] تعليقات: [ترجم]
312 نص: int or float, but not zero (it is not possible divide by zero) [كل اللغات] تعليقات: [ترجم]
313 نص: Explanatory notes embedded within the code and written to the "index.html" file created when the code is exported. Doc comments (documentation comments) are used for sharing a description of your sketch when the program is exported. Export the code by hitting the "Export" button on the Toolbar. [كل اللغات] تعليقات: [ترجم]
314 نص: Provides access to an object's methods and data. An object is an instance of a class and contains is a grouping of methods (object functions) and data (object variables and constants). The dot operator directs the program to the information encapsulated within an object. [كل اللغات] تعليقات: [ترجم]
315 نص: the object you want to access [كل اللغات] تعليقات: [ترجم]
316 نص: method encapsulated in the object [كل اللغات] تعليقات: [ترجم]
317 نص: variable or constant encapsulated in the object [كل اللغات] تعليقات: [ترجم]
318 نص: Called directly after <b>setup()</b> and continuously executes the lines of code contained inside its block until the program is stopped or <b>noLoop()</b> is called. <b>draw()</b> is called automatically and should never be called explicitly. It should always be controlled with <b>noLoop()</b>, <b>redraw()</b> and <b>loop()</b>. After <b>noLoop()</b> stops the code in <b>draw()</b> from executing, <b>redraw()</b> causes the code inside <b>draw()</b> to execute once and <b>loop()</b> will causes the code inside <b>draw()</b> to execute continuously again. The number of times <b>draw()</b> executes in each second may be controlled with the <b>delay()</b> and <b>framerate()</b> functions. There can only be one <b>draw()</b> function for each sketch and <b>draw()</b> must exist if you want the code to run continuously or to process events such as <b>mousePressed()</b>. Sometimes, you might have an empty call to <b>draw()</b> in your program as shown in the above example. [كل اللغات] تعليقات: [ترجم]
319 نص: A sequence of statements [كل اللغات] تعليقات: [ترجم]
320 نص: Draws an ellipse (oval) in the display window. An ellipse with an equal <b>width</b> and <b>height</b> is a circle. The first two parameters set the location, the third sets the width, and the fourth sets the height. The origin may be changed with the <b>ellipseMode()</b> function. [كل اللغات] تعليقات: [ترجم]
321 نص: int or float: xy-coordinate of the ellipse [كل اللغات] تعليقات: [ترجم]
322 نص: int or float: width of the ellipse [كل اللغات] تعليقات: [ترجم]
323 نص: int or float: height of the ellipse [كل اللغات] تعليقات: [ترجم]
324 نص: The origin of the ellipse is modified by the <b>ellipseMode()</b> function. The default configuration is <b>ellipseMode(CENTER)</b>, which specifies the location of the ellipse as the center of the shape. The CENTER_RADIUS mode is the same, but the width and height parameters to <b>ellipse()</b> specify the radius of the ellipse, rather than the diameter. The CORNER mode draws the shape from the upper-left corner of its bounding box. The CORNERS mode uses the four parameters to <b>ellipse()</b> to set two opposing corners of the ellipse's bounding box. The parameter must be written in "ALL CAPS" because Processing is a case sensitive language. [كل اللغات] تعليقات: [ترجم]
325 نص: Either CENTER, CENTER_RADIUS, CORNER, CORNERS. [كل اللغات] تعليقات: [ترجم]
326 نص: Extends the <b>if()</b> structure allowing the program to choose between two or more block of code. It specifies a block of code to execute when the expression in <b>if()</b> is <b>false</b>. [كل اللغات] تعليقات: [ترجم]
327 نص: one or more statements to be executed [كل اللغات] تعليقات: [ترجم]
328 نص: Sets the emissive color of the material used for drawing shapes drawn to the screen. Used in combination with <b>ambient</b>, <b>specular()</b>, and <b>shininess()</b> in setting the materal properties of shapes. [كل اللغات] تعليقات: [ترجم]
329 نص: The <b>beginCamera()</b> and <b>endCamera()</b> functions allow customizing the camera space through calls to transformations such as <b>lookat()</b> etc. This function sets the matrix mode to the camera matrix so calls to applyMatrix() and resetMatrix() affect the camera. <b>beginCamera()</b> should always be used with a following <b>endCamera()</b> and pairs of <b>beginCamera()</b> and <b>endCamera()</b> can not be nested. [كل اللغات] تعليقات: [ترجم]
330 نص: Stops the recording process started by <b>beginRecord()</b> and closes the file. [كل اللغات] تعليقات: [ترجم]
331 نص: The <b>endShape()</b> function is the companion to <b>beginShape()</b> and may only be called after the later. When <b>endshape()</b> is called, all of image data defined since the previous call to <b>beginShape()</b> is written into the image buffer. The the constant CLOSE as the value for the MODE parameter to close the shape (to connect the beginning and the end). [كل اللغات] تعليقات: [ترجم]
332 نص: Use CLOSE to close the shape [كل اللغات] تعليقات: [ترجم]
333 نص: Determines if two values are equivalent. The equality operator is different from the assignment operator. [كل اللغات] تعليقات: [ترجم]
334 نص: int, float, char, byte, boolean, String [كل اللغات] تعليقات: [ترجم]
335 نص: Quits/stops/exits the program. Programs without a <b>draw()</b> function exit automatically after the last line has run, but programs with <b>draw()</b> run continuously until the program is manually stoped or <b>exit()</b> is run. [كل اللغات] تعليقات: [ترجم]
336 نص: Returns Euler's number <i>e</i> (2.71828...) raised to the power of the <b>value</b> parameter. [كل اللغات] تعليقات: [ترجم]
337 نص: int or float: the exponent to raise <i>e</i> to [كل اللغات] تعليقات: [ترجم]
338 نص: Increases the size of an array. By default, this function doubles the size of the array, but the optional <b>newSize</b> parameter provides precise control over the increase in size. When increasing the size of an array of objects, the data returned from the function must be cast to the object array's data type. For example: <em>BG[] items = (BG[]) expand(originalArray)</em>. [كل اللغات] تعليقات: [ترجم]
339 نص: booleans[], bytes[], chars[], ints[], floats[], Strings[], or an array of objects [كل اللغات] تعليقات: [ترجم]
340 نص: Allows a new class to <i>inherit</i> the methods and fields (data members) from an existing class. In code, state the name of the new class, followed by the keyword <b>extends</b> and the name of the <i>base class</i>. The concept of inheritance is one of the fundamental principles of object oriented programming. [كل اللغات] تعليقات: [ترجم]
341 نص: Reserved word representing the logical value "false". Only variables of type <b>boolean</b> may be assigned the value <b>false</b> [كل اللغات] تعليقات: [ترجم]
342 نص: Sets the color used to fill shapes. For example, if you call <b>fill(204, 102, 0)</b> and draw a rectangle it and all subsequent shapes will be filled with orange. This color is either specified in terms of the RGB or HSB color depending on the current <b>colorMode()</b> (the default color space is RGB, with each value in the range from 0 to 255). <i>Note: the value for the parameter "gray" must be less than or equal to the current maximum value as specified by <b>colorMode()</b>. The default maximum value is 255.</i> [كل اللغات] تعليقات: [ترجم]
343 نص: int or float: opacity of the fill [كل اللغات] تعليقات: [ترجم]
344 نص: Filters the display window as defined by one of the following modes:<br /><br />THRESHOLD - converts the image to black and white pixels depending if they are above or below the threshold defined by the level parameter. The level must be between 0.0 (black) and 1.0(white). If no level is specified, 0.5 is used.<br /><br />GRAY - converts any colors in the image to grayscale equivalents<br /><br />INVERT - sets each pixel to its inverse value<br /><br />POSTERIZE - limits each channel of the image to the number of colors specified as the level parameter<br /><br />BLUR - executes a Guassian blur with the level parameter specifying the extent of the blurring. If no level parameter is used, the blur is equivalent to Guassian blur of radius 1.<br /><br />OPAQUE - sets the alpha channel to entirely opaque [كل اللغات] تعليقات: [ترجم]
345 نص: Either THRESHOLD, GRAY, INVERT, POSTERIZE, BLUR, or OPAQUE [كل اللغات] تعليقات: [ترجم]
346 نص: int or float: defines the quality of the filter [كل اللغات] تعليقات: [ترجم]
347 نص: Datatype for floating-point numbers, a number that has a decimal point. Floating-point numbers are often used to approximate analog and continuous values because they have greater resolution than integers. Floating-point numbers can be as large as 3.40282347E+38 and as low as -3.40282347E+38. They are stored as 32 bits of information. The first time a variable is written, it must be declared with a statement expressing its datatype. Subsequent uses of this variable must not reference the datatype because Processing will think the variable is being declared again. [كل اللغات] تعليقات: [ترجم]
348 نص: variable name referencing the float [كل اللغات] تعليقات: [ترجم]
349 نص: any floating-point value [كل اللغات] تعليقات: [ترجم] [حرّر ]