mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Keywords changes, currently not entirely working
This commit is contained in:
@@ -21,7 +21,7 @@ Bubble[] bubbles;
|
||||
|
||||
void setup() {
|
||||
size(640, 360);
|
||||
smooth();
|
||||
|
||||
// Load an XML document
|
||||
XML xml = loadXML("bubbles.xml");
|
||||
|
||||
@@ -31,7 +31,7 @@ void setup() {
|
||||
// Make an array of objects the same size
|
||||
bubbles = new Bubble[children.length];
|
||||
|
||||
for (int i = 0; i < children.length; i ++ ) {
|
||||
for (int i = 0; i < children.length; i++ ) {
|
||||
|
||||
// The diameter is the content of the child named "Diamater"
|
||||
XML diameterElement = children[i].getChild("diameter");
|
||||
|
||||
Reference in New Issue
Block a user