// ########################################################
// # Note (20210808): #
// # This OBJKT was airdropped to holders of OBJKT #
// # #187720. The previous version was too dependent on #
// # certain behaviors of a 3rd party API and while it #
// # worked most of the time, occasionally it would #
// # render unpredictably, which drove me nuts. You may #
// # burn #187720 at your own discretion. <3 #
// ########################################################
//
// T H E
// ____ __ ____
// /\ \ /'_/'\ /\ _ /__ \
// \ \ / /\ \ \ \ ,\ __ //\ \
// \ \ \ \ \ __\ \ /''\ \ / /''\ \ \ \
// \ \ _ \ \ _/\ /\ /\ \ _/\ \L._ _\ \
// \ _\ \ _\ _\ _\ _\ _/._\ /_
// // // //// ////// //
// ______________________________________________________
// | |
// | I N S T R U C T I O N S #1 |
// ||
// | |
// | This OBJKT takes its own description metadata and |
// | executes it as code to render its output |
// ||
// | |
background(backgroundColor);
points = new Array(floor(random(2,50)));
padding = width/50;
for (let i = 0; i < points.length; i++) {
points[i] = {
x:random(padding,width-padding),
y:random(padding,height-padding)
};
}
for (let i = 0; i < points.length; i++) {
for (let j = 0; j < points.length; j++) {
strokeWeight(width/2000);
stroke(lineColor);
line(
points[i].x,points[i].y,
points[j].x,points[j].y
);
}
}
// || // | | // | Clicking anywhere regenerates the art and | // | toggles between black/white mode | // | | // | Made in p5js | // || // | | // | 29 July 2021 @Yazid | // | (Reminted 8 Aug 2021) | // |______________________________________________________|