diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..808f4e0de --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "mdx-preview.preview.useVscodeMarkdownStyles": false +} \ No newline at end of file diff --git a/content/contributions/(Weka4P)_Weka_Machine_Learning_for_Processing.json b/content/contributions/(Weka4P)_Weka_Machine_Learning_for_Processing.json index bb793670c..ceb095e5a 100644 --- a/content/contributions/(Weka4P)_Weka_Machine_Learning_for_Processing.json +++ b/content/contributions/(Weka4P)_Weka_Machine_Learning_for_Processing.json @@ -1,7 +1,7 @@ { "name": "(Weka4P) Weka Machine Learning for Processing", "authors": [ - "[Rong-Hao Liang](r.liang@tue.nl), [Wesley Hartogs](https://wesleyhartogs.nl), [Janet Huang](Y.C.Huang@tue.nl)" + "[Rong-Hao Liang](mailto:r.liang@tue.nl), [Wesley Hartogs](https://wesleyhartogs.nl), [Janet Huang](mailto:Y.C.Huang@tue.nl)" ], "url": "https://howieliang.github.io/Weka4P/", "categories": [ diff --git a/content/contributions/REPL_Mode.json b/content/contributions/REPL_Mode.json index c457b326c..d9acfca53 100644 --- a/content/contributions/REPL_Mode.json +++ b/content/contributions/REPL_Mode.json @@ -5,7 +5,7 @@ ], "url": "https://github.com/joelmoniz/REPLmode", "sentence": "Adds an REPL Console to view the output of code typed into it immediately. Also gives the PDE the ability to hot swap code.", - "paragraph": "This mode adds in a Read-Evaluate-Print-Loop console to processing in the form of a tab at the bottom. The console enables users to type in processing code and to view the output of this code immediately. Each subsequent line of code shows the output incrementally, much like how an REPL Console for any interpretive language (like Python, and the Linux bash terminal) would. The console also provides options to undo commands, to convert the valid commands entered so far into a function, and so on. Ths mode also gives the PDE the ability to hot swap code, wherein the output corresponding to changes made in a running sketch can be viewed by simply saving the sketch, without restarting it.", + "paragraph": "This mode adds in a Read-Evaluate-Print-Loop console to Processing in the form of a tab at the bottom. The console enables users to type in processing code and to view the output of this code immediately. Each subsequent line of code shows the output incrementally, much like how an REPL Console for any interpretive language (like Python, and the Linux bash terminal) would. The console also provides options to undo commands, to convert the valid commands entered so far into a function, and so on. Ths mode also gives the PDE the ability to hot swap code, wherein the output corresponding to changes made in a running sketch can be viewed by simply saving the sketch, without restarting it.", "imports": "processing.mode.java.JavaMode", "lastUpdated": "1443120511000", "type": "mode", diff --git a/content/contributions/SerialRecord.json b/content/contributions/SerialRecord.json index c52561b46..47a9fa3b8 100644 --- a/content/contributions/SerialRecord.json +++ b/content/contributions/SerialRecord.json @@ -1,7 +1,7 @@ { "name": "SerialRecord", "authors": [ - "[Oliver Steele](steele@osteele.com)" + "[Oliver Steele](mailto:steele@osteele.com)" ], "url": "https://osteele.github.io/Processing_SerialRecord/", "categories": [ diff --git a/content/contributions/Simple_Phidgets.json b/content/contributions/Simple_Phidgets.json index 5be965c12..9cc6a5703 100644 --- a/content/contributions/Simple_Phidgets.json +++ b/content/contributions/Simple_Phidgets.json @@ -1,7 +1,7 @@ { "name": "Simple Phidgets", "authors": [ - "[Shachar Geiger](s.geiger.s@gmail.com)" + "[Shachar Geiger](mailto:s.geiger.s@gmail.com)" ], "url": "https://github.com/sgeigers/SimplePhidgets", "categories": [ diff --git a/content/contributions/meter.json b/content/contributions/meter.json index d0a2b7529..38f5b3636 100644 --- a/content/contributions/meter.json +++ b/content/contributions/meter.json @@ -1,7 +1,7 @@ { "name": "meter", "authors": [ - "Bill (Papa) Kujawa" + "Bill 'Papa' Kujawa" ], "url": "https://github.com/BillKujawa/meter.git", "categories": [ diff --git a/content/contributions/tramontanaCV.json b/content/contributions/tramontanaCV.json index 3208407db..913b83973 100644 --- a/content/contributions/tramontanaCV.json +++ b/content/contributions/tramontanaCV.json @@ -1,7 +1,7 @@ { "name": "tramontanaCV", "authors": [ - "[Pierluigi Dalla Rosa](www.pierdr.com)" + "[Pierluigi Dalla Rosa](https://www.pierdr.com/)" ], "url": "https://tramontana.xyz/", "categories": [ diff --git a/content/examples/Basics/Data/DatatypeConversion/DatatypeConversion.json b/content/examples/Basics/Data/DatatypeConversion/DatatypeConversion.json index 95899daca..31730a06c 100644 --- a/content/examples/Basics/Data/DatatypeConversion/DatatypeConversion.json +++ b/content/examples/Basics/Data/DatatypeConversion/DatatypeConversion.json @@ -5,5 +5,5 @@ "level": "Intermediate", "order": "4", "description": "It is sometimes beneficial to convert a value from one type of \n data to another. Each of the conversion functions converts its parameter \n to an equivalent representation within its datatype. \n The conversion functions include int(), float(), char(), byte(), and others.", - "featured": ["floatconvert", "intconvert", "byteconvert", "charconvert"] + "featured": ["float", "int", "byte", "char"] } diff --git a/content/examples/Topics/Fractals and L-Systems/Mandelbrot/Mandelbrot.json b/content/examples/Topics/Fractals and L-Systems/Mandelbrot/Mandelbrot.json index 06b36297a..b253626c8 100644 --- a/content/examples/Topics/Fractals and L-Systems/Mandelbrot/Mandelbrot.json +++ b/content/examples/Topics/Fractals and L-Systems/Mandelbrot/Mandelbrot.json @@ -5,5 +5,5 @@ "order": "0", "author": "Daniel Shiffman (slight modification by l8l)", "description": "Simple rendering of the Mandelbrot set.", - "featured": ["loadPixels_", "updatePixels_", "pixels[]"] + "featured": ["loadPixels_", "updatePixels_", "pixels"] } diff --git a/content/examples/Topics/Image Processing/Blur/Blur.json b/content/examples/Topics/Image Processing/Blur/Blur.json index 968f14a81..92d537711 100644 --- a/content/examples/Topics/Image Processing/Blur/Blur.json +++ b/content/examples/Topics/Image Processing/Blur/Blur.json @@ -10,7 +10,7 @@ "image_", "PImage_loadPixels_", "createImage_", - "PImage_pixels[]", + "PImage_pixels", "PImage_updatePixels_" ] } diff --git a/content/examples/Topics/Image Processing/Convolution/Convolution.json b/content/examples/Topics/Image Processing/Convolution/Convolution.json index f66e27adb..f66489020 100644 --- a/content/examples/Topics/Image Processing/Convolution/Convolution.json +++ b/content/examples/Topics/Image Processing/Convolution/Convolution.json @@ -6,7 +6,7 @@ "order": "4", "description": "Applies a convolution matrix to a portion of an image. Move mouse to apply filter to different parts of the image.", "featured": [ - "PImage_", + "PImage", "Array", "loadImage_", "constrain_", diff --git a/content/examples/Topics/Image Processing/PixelArray/PixelArray.json b/content/examples/Topics/Image Processing/PixelArray/PixelArray.json index d585da153..c62bcea7c 100644 --- a/content/examples/Topics/Image Processing/PixelArray/PixelArray.json +++ b/content/examples/Topics/Image Processing/PixelArray/PixelArray.json @@ -5,5 +5,5 @@ "level": "Intermediate", "order": "0", "description": "Click and drag the mouse up and down to control the signal and \n press and hold any key to see the current pixel being read. \n This program sequentially reads the color of every pixel of an image\n and displays this color to fill the window.", - "featured": ["PImage_", "loadImage_", "constrain_", "set_"] + "featured": ["PImage", "loadImage_", "constrain_", "set_"] } diff --git a/content/examples/Topics/Simulate/ForcesWithVectors/liveSketch.js b/content/examples/Topics/Simulate/ForcesWithVectors/liveSketch.js index 125125054..dab0900d8 100644 --- a/content/examples/Topics/Simulate/ForcesWithVectors/liveSketch.js +++ b/content/examples/Topics/Simulate/ForcesWithVectors/liveSketch.js @@ -7,7 +7,7 @@ * Bodies experience fluid resistance when in "water" * * For the basics of working with PVector, see - * http://processing.org/learning/pvector/ + * https://processing.org/tutorials/pvector * as well as examples in Topics/Vectors/ * */ diff --git a/content/examples/Topics/Vectors/VectorMath/VectorMath.json b/content/examples/Topics/Vectors/VectorMath/VectorMath.json index d5966c3ca..64ed6ca10 100644 --- a/content/examples/Topics/Vectors/VectorMath/VectorMath.json +++ b/content/examples/Topics/Vectors/VectorMath/VectorMath.json @@ -5,5 +5,5 @@ "level": "Intermediate", "order": "1", "description": "Demonstration of some basic vector math: subtraction, normalization, scaling. Normalizing a vector sets its length to 1.", - "featured": ["PVector", "PVector_sub", "PVector_normalize_", "PVector_mult_"] + "featured": ["PVector", "PVector_sub_", "PVector_normalize_", "PVector_mult_"] } diff --git a/content/references/translations/en/net/Client.json b/content/references/translations/en/net/Client.json index f7de48661..484895809 100644 --- a/content/references/translations/en/net/Client.json +++ b/content/references/translations/en/net/Client.json @@ -68,7 +68,7 @@ "description": "A client connects to a server and sends data back and forth. If anything\n goes wrong with the connection, for example the host is not there or is\n listening on a different port, an exception is thrown.", "type": "class", "constructors": ["Client(parent, host, port)", "Client(parent, socket)"], - "related": ["LIB_net/clientEvent_"], + "related": ["net/clientEvent_"], "name": "Client", "classanchor": "net/Client", "category": "client", diff --git a/content/references/translations/en/processing/PFont.json b/content/references/translations/en/processing/PFont.json index 0cdd36db9..71e191483 100644 --- a/content/references/translations/en/processing/PFont.json +++ b/content/references/translations/en/processing/PFont.json @@ -1,7 +1,7 @@ { "brief": "Grayscale bitmap font class used by Processing", "constructors": [], - "related": ["loadFont_", "createFont_", "PGraphics_textFont_"], + "related": ["loadFont_", "createFont_", "textFont_"], "methods": [ { "anchor": "PFont_list_", diff --git a/content/references/translations/en/processing/PImage_copy_.json b/content/references/translations/en/processing/PImage_copy_.json index e96c5b994..11e156415 100644 --- a/content/references/translations/en/processing/PImage_copy_.json +++ b/content/references/translations/en/processing/PImage_copy_.json @@ -1,6 +1,6 @@ { "brief": "Copies the entire image", - "related": ["PGraphics_alpha_", "PImage_blend_"], + "related": ["alpha_", "PImage_blend_"], "name": "copy()", "description": "Copies a region of pixels from one image into another. If the source and\n destination regions aren't the same size, it will automatically resize\n source pixels to fit the specified target region. No alpha information\n is used in the process, however if the source image has an alpha channel\n set, it will be copied as well.\n

\n As of release 0149, this function ignores imageMode().", "syntax": [ diff --git a/content/references/translations/en/processing/blue_.json b/content/references/translations/en/processing/blue_.json index ac4ab5586..e9f41b2b5 100644 --- a/content/references/translations/en/processing/blue_.json +++ b/content/references/translations/en/processing/blue_.json @@ -7,7 +7,7 @@ "hue_", "saturation_", "brightness_", - "rightshift_" + "rightshift" ], "name": "blue()", "description": "Extracts the blue value from a color, scaled to match current\n colorMode(). The value is always returned as a float, so be careful\n not to assign it to an int value.
\n
\n The blue() function is easy to use and understand, but it is slower\n than a technique called bit masking. When working in colorMode(RGB,\n 255), you can achieve the same results as blue() but with greater\n speed by using a bit mask to remove the other color components. For example,\n the following two lines of code are equivalent means of getting the blue\n value of the color value c:
\n
\n\n
\n float b1 = blue(c); // Simpler, but slower to calculate\n float b2 = c & 0xFF; // Very fast to calculate\n 
", diff --git a/content/references/translations/en/processing/green_.json b/content/references/translations/en/processing/green_.json index e4fa5b20e..2273dd854 100644 --- a/content/references/translations/en/processing/green_.json +++ b/content/references/translations/en/processing/green_.json @@ -7,7 +7,7 @@ "hue_", "saturation_", "brightness_", - "rightshift_" + "rightshift" ], "name": "green()", "description": "Extracts the green value from a color, scaled to match current\n colorMode(). The value is always returned as a float, so be careful\n not to assign it to an int value.
\n
\n The green() function is easy to use and understand, but it is slower\n than a technique called bit shifting. When working in colorMode(RGB,\n 255), you can achieve the same results as green() but with greater\n speed by using the right shift operator (>>) with a bit mask. For\n example, the following two lines of code are equivalent means of getting the\n green value of the color value c:
\n
\n\n
\n float g1 = green(c); // Simpler, but slower to calculate\n float g2 = c >> 8 & 0xFF; // Very fast to calculate\n 
", diff --git a/content/references/translations/en/processing/red_.json b/content/references/translations/en/processing/red_.json index 5a970880a..63073ceca 100644 --- a/content/references/translations/en/processing/red_.json +++ b/content/references/translations/en/processing/red_.json @@ -7,7 +7,7 @@ "hue_", "saturation_", "brightness_", - "rightshift_" + "rightshift" ], "name": "red()", "description": "Extracts the red value from a color, scaled to match current\n colorMode(). The value is always returned as a float, so be careful\n not to assign it to an int value.
\n
\n The red() function is easy to use and understand, but it is slower\n than a technique called bit shifting. When working in colorMode(RGB,\n 255), you can achieve the same results as red() but with greater\n speed by using the right shift operator (>>) with a bit mask. For\n example, the following two lines of code are equivalent means of getting the\n red value of the color value c:
\n
\n\n
\n float r1 = red(c); // Simpler, but slower to calculate\n float r2 = c >> 16 & 0xFF; // Very fast to calculate\n 
", diff --git a/content/references/translations/en/processing/text_.json b/content/references/translations/en/processing/text_.json index f002650b9..b2b463b75 100644 --- a/content/references/translations/en/processing/text_.json +++ b/content/references/translations/en/processing/text_.json @@ -11,7 +11,7 @@ "textDescent_", "rectMode_", "fill_", - "String_" + "String" ], "name": "text()", "description": "Draws text to the screen. Displays the information specified in the first\n parameter on the screen in the position specified by the additional\n parameters. A default font will be used unless a font is set with the\n textFont() function and a default size will be used unless a font is\n set with textSize(). Change the color of the text with the\n fill() function. The text displays in relation to the\n textAlign() function, which gives the option to draw to the left,\n right, and center of the coordinates.
\n
\n The x2 and y2 parameters define a rectangular area to display\n within and may only be used with string data. When these parameters are\n specified, they are interpreted based on the current rectMode()\n setting. Text that does not fit completely within the rectangle specified\n will not be drawn to the screen.
\n
\n Note that Processing now lets you call text() without first specifying\n a PFont with textFont(). In that case, a generic sans-serif font will\n be used instead. (See the third example above.)", diff --git a/content/references/translations/en/serial/Serial.json b/content/references/translations/en/serial/Serial.json index cda9fffe4..a37c23e55 100644 --- a/content/references/translations/en/serial/Serial.json +++ b/content/references/translations/en/serial/Serial.json @@ -94,7 +94,7 @@ "Serial(parent, portName, baudRate)", "Serial(parent, portName, baudRate, parity, dataBits, stopBits)" ], - "related": ["LIB_serial/serialEvent_"], + "related": ["serial/Serial_serialEvent_"], "name": "Serial", "classanchor": "serial/Serial", "category": "serial", diff --git a/content/references/translations/en/sound/AudioSample_jumpFrame_.json b/content/references/translations/en/sound/AudioSample_jumpFrame_.json index 6b7bc6bc3..d6c15f89e 100644 --- a/content/references/translations/en/sound/AudioSample_jumpFrame_.json +++ b/content/references/translations/en/sound/AudioSample_jumpFrame_.json @@ -1,6 +1,6 @@ { "brief": "Jump to a specific position in the audiosample without interrupting playback.", - "related": ["sound/AudioSample_cue_", "sound/AudioSample_play_"], + "related": ["AudioSample_cue_", "AudioSample_play_"], "name": "jumpFrame()", "description": "Jump to a specific position in the audiosample without interrupting playback.", "syntax": ["audiosample.jumpFrame(frameNumber)"], diff --git a/content/references/translations/en/sound/AudioSample_jump_.json b/content/references/translations/en/sound/AudioSample_jump_.json index abb0ce879..ca3d53322 100644 --- a/content/references/translations/en/sound/AudioSample_jump_.json +++ b/content/references/translations/en/sound/AudioSample_jump_.json @@ -1,6 +1,6 @@ { "brief": "Jumps to a specific position in the audio sample.", - "related": ["sound/AudioSample_cue_", "sound/AudioSample_play_"], + "related": ["AudioSample_cue_", "AudioSample_play_"], "name": "jump()", "description": "Jump to a specific position in the audiosample while continuing to play (or \n starting to play if it wasn't playing already).", "syntax": ["audiosample.jump(time)"], diff --git a/content/references/translations/en/sound/AudioSample_pause_.json b/content/references/translations/en/sound/AudioSample_pause_.json index 3758ba4e7..b877ec832 100644 --- a/content/references/translations/en/sound/AudioSample_pause_.json +++ b/content/references/translations/en/sound/AudioSample_pause_.json @@ -1,6 +1,6 @@ { "brief": "Stop the playback of the sample, but cue it to the current position.", - "related": ["sound/AudioSample_cue_"], + "related": ["AudioSample_cue_"], "name": "pause()", "description": "Stop the playback of the sample, but cue it to the current position. \n The next call to play() will continue playing where it left off.", "syntax": ["audiosample.pause()"], diff --git a/content/references/translations/en/sound/MultiChannel_activeChannel_.json b/content/references/translations/en/sound/MultiChannel_activeChannel_.json index 8598ff61c..cee8a22b2 100644 --- a/content/references/translations/en/sound/MultiChannel_activeChannel_.json +++ b/content/references/translations/en/sound/MultiChannel_activeChannel_.json @@ -1,6 +1,6 @@ { "brief": "Controls which output channel sounds will be played back to.\n\n After selecting a new output channel, all sounds that start `play()`ing \n will be sent to that channel.", - "related": ["sound/MultiChannel_availableChannels_"], + "related": ["MultiChannel_availableChannels_"], "name": "activeChannel()", "description": "Controls which output channel sounds will be played back to.\n\n After selecting a new output channel, all sounds that start `play()`ing \n will be sent to that channel.", "syntax": [ diff --git a/content/references/translations/en/sound/MultiChannel_availableChannels_.json b/content/references/translations/en/sound/MultiChannel_availableChannels_.json index 87520425b..67a1f4852 100644 --- a/content/references/translations/en/sound/MultiChannel_availableChannels_.json +++ b/content/references/translations/en/sound/MultiChannel_availableChannels_.json @@ -1,6 +1,6 @@ { "brief": "Gets the number of output channels available on an output device", - "related": ["sound/Sound_outputDevice_"], + "related": ["Sound_outputDevice_"], "name": "availableChannels()", "description": "Gets the number of output channels available on an output device", "syntax": [ diff --git a/content/references/translations/en/sound/MultiChannel_usePortAudio_.json b/content/references/translations/en/sound/MultiChannel_usePortAudio_.json index e9e5144b5..57f10cc42 100644 --- a/content/references/translations/en/sound/MultiChannel_usePortAudio_.json +++ b/content/references/translations/en/sound/MultiChannel_usePortAudio_.json @@ -1,6 +1,6 @@ { "brief": "Force using PortAudio instead of JavaSound.", - "related": ["sound/Sound_list_"], + "related": ["Sound_list_"], "name": "usePortAudio()", "description": "Force using PortAudio instead of JavaSound.\n\n Support for 24 bit audio interfaces on Windows requires using the native\n PortAudio bindings instead of the default JavaSound one. The Sound library \n will automatically check for and load PortAudio when it is necessary to do \n so. However, when Sound.list() is called before selecting an \n output device, it might show an incorrect number of channels for \n multi-channel interfaces. By explicitly loading PortAudio ahead of time you \n can ensure that Sound.list() will show accurate channel \n numbers from the start.\n\n Returns true if PortAudio was successfully loaded.", "syntax": ["MultiChannel.usePortAudio()"], diff --git a/content/references/translations/en/sound/Sound.json b/content/references/translations/en/sound/Sound.json index 9fc567a7f..37747c0fc 100644 --- a/content/references/translations/en/sound/Sound.json +++ b/content/references/translations/en/sound/Sound.json @@ -41,7 +41,7 @@ "Sound(parent)", "Sound(parent, sampleRate, outputDevice, inputDevice, volume)" ], - "related": ["sound/MultiChannel"], + "related": ["MultiChannel"], "name": "Sound", "classanchor": "sound/Sound", "category": "Configuration", diff --git a/content/references/translations/en/sound/Sound_inputDevice_.json b/content/references/translations/en/sound/Sound_inputDevice_.json index 1abcb2235..93cad8108 100644 --- a/content/references/translations/en/sound/Sound_inputDevice_.json +++ b/content/references/translations/en/sound/Sound_inputDevice_.json @@ -1,6 +1,6 @@ { "brief": "Choose the device (sound card) which should be used for grabbing audio input using AudioIn.", - "related": ["sound/Sound_list_"], + "related": ["Sound_list_"], "name": "inputDevice()", "description": "Choose the device (sound card) which should be used for grabbing audio input\n using AudioIn. Note that this setting affects the choice of sound card, which \n is not necessarily the same as the number of the input channel. If your sound \n card has more than one input channel, you can specify which channel to use in\n the constructor of the AudioIn class.", "syntax": ["Sound.inputDevice(deviceId)", "Sound.inputDevice(deviceName)"], diff --git a/content/references/translations/en/sound/Sound_outputDevice_.json b/content/references/translations/en/sound/Sound_outputDevice_.json index 8d5c2898a..26614210c 100644 --- a/content/references/translations/en/sound/Sound_outputDevice_.json +++ b/content/references/translations/en/sound/Sound_outputDevice_.json @@ -1,6 +1,6 @@ { "brief": "Choose the device (sound card) which the Sound library's audio output should be sent to.", - "related": ["sound/Sound_list_"], + "related": ["Sound_list_"], "name": "outputDevice()", "description": "Choose the device (sound card) which the Sound library's audio output should\n be sent to. The output device should support stereo output (2 channels).", "syntax": ["Sound.outputDevice(deviceId)", "Sound.outputDevice(deviceName)"], diff --git a/content/references/translations/es/net/Client.es.json b/content/references/translations/es/net/Client.es.json index f88e67428..d34e9d763 100644 --- a/content/references/translations/es/net/Client.es.json +++ b/content/references/translations/es/net/Client.es.json @@ -68,7 +68,7 @@ "description": "A client connects to a server and sends data back and forth. If anything \n goes wrong with the connection, for example the host is not there or is \n listening on a different port, an exception is thrown.", "type": "class", "constructors": ["Client(parent, host, port)", "Client(parent, socket)"], - "related": ["LIB_net/clientEvent_"], + "related": ["net/clientEvent_"], "name": "Client", "classanchor": "net/Client", "category": "client", diff --git a/content/references/translations/es/processing/PImage_copy_.es.json b/content/references/translations/es/processing/PImage_copy_.es.json index febc6d526..482a3dea9 100644 --- a/content/references/translations/es/processing/PImage_copy_.es.json +++ b/content/references/translations/es/processing/PImage_copy_.es.json @@ -1,6 +1,6 @@ { "brief": "Copies the entire image", - "related": ["PGraphics_alpha_", "PImage_blend_"], + "related": ["alpha_", "PImage_blend_"], "name": "copy()", "description": "Copies a region of pixels from one image into another. If the source and\n destination regions aren't the same size, it will automatically resize\n source pixels to fit the specified target region. No alpha information\n is used in the process, however if the source image has an alpha channel\n set, it will be copied as well.\n

\n As of release 0149, this function ignores imageMode().", "syntax": [ diff --git a/content/references/translations/es/processing/text_.es.json b/content/references/translations/es/processing/text_.es.json index e37a99e9e..79e1470b8 100644 --- a/content/references/translations/es/processing/text_.es.json +++ b/content/references/translations/es/processing/text_.es.json @@ -11,7 +11,7 @@ "textDescent_", "rectMode_", "fill_", - "String_" + "String" ], "name": "text()", "description": "Draws text to the screen. Displays the information specified in the first\n parameter on the screen in the position specified by the additional\n parameters. A default font will be used unless a font is set with the\n textFont() function and a default size will be used unless a font is\n set with textSize(). Change the color of the text with the\n fill() function. The text displays in relation to the\n textAlign() function, which gives the option to draw to the left,\n right, and center of the coordinates.
\n
\n The x2 and y2 parameters define a rectangular area to display\n within and may only be used with string data. When these parameters are\n specified, they are interpreted based on the current rectMode()\n setting. Text that does not fit completely within the rectangle specified\n will not be drawn to the screen.
\n
\n Note that Processing now lets you call text() without first specifying\n a PFont with textFont(). In that case, a generic sans-serif font will\n be used instead. (See the third example above.)", diff --git a/content/references/translations/es/serial/Serial.es.json b/content/references/translations/es/serial/Serial.es.json index cda9fffe4..a37c23e55 100644 --- a/content/references/translations/es/serial/Serial.es.json +++ b/content/references/translations/es/serial/Serial.es.json @@ -94,7 +94,7 @@ "Serial(parent, portName, baudRate)", "Serial(parent, portName, baudRate, parity, dataBits, stopBits)" ], - "related": ["LIB_serial/serialEvent_"], + "related": ["serial/Serial_serialEvent_"], "name": "Serial", "classanchor": "serial/Serial", "category": "serial", diff --git a/content/tutorials/text/images-and-pixels/index.mdx b/content/tutorials/text/images-and-pixels/index.mdx index c7e19405b..c653210ba 100644 --- a/content/tutorials/text/images-and-pixels/index.mdx +++ b/content/tutorials/text/images-and-pixels/index.mdx @@ -206,8 +206,8 @@ updatePixels(); First, we should point out something important in the above example. Whenever you are accessing the pixels of a Processing window, you must alert Processing to this activity. This is accomplished with two functions: -- [loadPixels()](http://processing.org/reference/loadPixels_.html) This function is called before you access the pixel array, saying "load the pixels, I would like to speak with them!" -- [updatePixels()](http://processing.org/reference/updatePixels.html) This function is called after you finish with the pixel array saying "Go ahead and update the pixels, I'm all done!" +- [loadPixels()](https://processing.org/reference/loadPixels_.html) This function is called before you access the pixel array, saying "load the pixels, I would like to speak with them!" +- [updatePixels()](https://processing.org/reference/updatePixels_.html) This function is called after you finish with the pixel array saying "Go ahead and update the pixels, I'm all done!" In the above example, because the colors are set randomly, we didn't have to worry about where the pixels are onscreen as we access them, since we are simply setting all the pixels with no regard to their relative location. However, in many image processing applications, the XY location of the pixels themselves is crucial information. A simple example of this might be, set every even column of pixels to white and every odd to black. How could you do this with a one dimensional pixel array? How do you know what column or row any given pixel is in? @@ -223,7 +223,7 @@ In programming with pixels, we need to be able to think of every pixel as living -This may remind you of our [two dimensional arrays tutorial](http://www.processing.org/learning/2darray/). In fact, we'll need to use the same nested for loop technique. The difference is that, although we want to use for loops to think about the pixels in two dimensions, when we go to actually access the pixels, they live in a one dimensional array, and we have to apply the formula from the above illustration. +This may remind you of our [two dimensional arrays tutorial](https://processing.org/tutorials/2darray). In fact, we'll need to use the same nested for loop technique. The difference is that, although we want to use for loops to think about the pixels in two dimensions, when we go to actually access the pixels, they live in a one dimensional array, and we have to apply the formula from the above illustration. Let's look at how it is done. diff --git a/content/tutorials/text/pvector/index.mdx b/content/tutorials/text/pvector/index.mdx index 69b23411b..6fda43941 100644 --- a/content/tutorials/text/pvector/index.mdx +++ b/content/tutorials/text/pvector/index.mdx @@ -118,7 +118,7 @@ Here are some vectors and possible translations: -You've probably done this before when programming motion. For every frame of animation (i.e. single cycle through Processing's (http://processing.org/reference/draw_.html)draw()] loop), you instruct each object on the screen to move a certain number of pixels horizontally and a certain number of pixels (vertically). +You've probably done this before when programming motion. For every frame of animation \(i.e. single cycle through Processing's [draw\(\) loop](http://processing.org/reference/draw_.html)\), you instruct each object on the screen to move a certain number of pixels horizontally and a certain number of pixels (vertically). For a Processing programmer, we can now understand a vector as the instructions for moving a shape from point A to point B, an object's “pixel velocity” so to speak. diff --git a/content/tutorials/text/strings-and-drawing-text/index.mdx b/content/tutorials/text/strings-and-drawing-text/index.mdx index ddd14fbe1..e0d295643 100644 --- a/content/tutorials/text/strings-and-drawing-text/index.mdx +++ b/content/tutorials/text/strings-and-drawing-text/index.mdx @@ -43,7 +43,7 @@ Clearly, this would be a royal pain in the Processing behind. It's much simpler String sometext = "How do I make String? Type some characters between quotation marks!"; ``` -It appears from the above that a String is nothing more than a list of characters in between quotes. Nevertheless, this is only the data of a String. We must remember that a String is an object with methods (which you can find on the reference page.) This is just like how we learned in the [Pixels tutorial](http://processing.org/learning/pixels/) that a [PImage](http://processing.org/reference/PImage.html) stores both the data associated with an image as well as functionality: [copy()](http://processing.org/reference/copy_.html), [loadPixels()](http://processing.org/reference/loadPixels_.html), etc. +It appears from the above that a String is nothing more than a list of characters in between quotes. Nevertheless, this is only the data of a String. We must remember that a String is an object with methods (which you can find on the reference page.) This is just like how we learned in the [Pixels tutorial](https://processing.org/tutorials/pixels) that a [PImage](http://processing.org/reference/PImage.html) stores both the data associated with an image as well as functionality: [copy()](http://processing.org/reference/copy_.html), [loadPixels()](http://processing.org/reference/loadPixels_.html), etc. For example, the method [charAt()](http://processing.org/reference/String_charAt_.html) returns the individual character in the String at a given index. Note that Strings are just like arrays in that the first character is index #0! @@ -329,7 +329,7 @@ In addition to textAlign() and textWidth(), Processing also offers the functions ## Rotating text -[Translation and rotation](http://processing.org/learning/transform2d/) can also be applied to text. For example, to rotate text around its center, translate to an origin point and use `textAlign(CENTER)` before displaying the text. +[Translation and rotation](https://processing.org/tutorials/transform2d) can also be applied to text. For example, to rotate text around its center, translate to an origin point and use `textAlign(CENTER)` before displaying the text. [Example: Rotating Text](http://learningprocessing.com/examples/chp17/example-17-05-rotatetext)