Conoformis
The wise people of the distant planet of Xarzom sought to capture the beauty of the universe in their ancient temples. To do so, they crafted a powerful piece of code that stochastically weaved a ribbon of light across the canvas, and altered its hue with each new step. The ribbon was also given a shimmer that gradually lessened as it moved, creating a swirling kaleidoscope of ever-shifting hues. This symbolized the infinite and ever-changing beauty of the universe, and was a testament to the grandeur of the Xarzom civilization. This code was used to decorate the walls of their temples, a reminder of the power of the cosmic forces that surround us.
The people of Xarzom named the code "Conoformis," meaning 'enchanting shape.' This referred to the mesmerizing patterns created by the ribbon of light, and how they were a symbol of the beauty of the universe. The name is pronounced "coh-noh-FOR-miss," and is a fitting tribute to the ingenuity of the Xarzom people and the power of their code.
"Fyulhaz arim seyud zamu yayt, Conoformis yur adarim fyaglaz" Translation: "In the depths of space lies the power of Conoformis, an ever-changing beauty." Xalarik Yutarik of Xarzom was a wise ruler of the ancient Xarzom people, credited with inspiring the powerful code known as Conoformis through his leadership and dedication to his people. He is remembered for his belief in the power of the cosmos and the beauty of the universe.
Some examples of what this code creates
Conoformis Code:
//
// ________ ________ ________ ________ ________ ________ ________ _____ ______ ___ ________
// |\ ____\|\ __ \|\ ___ \|\ __ \|\ _____\\ __ \|\ __ \|\ _ \ _ \|\ \|\ ____\
// \ \ \___|\ \ \|\ \ \ \\ \ \ \ \|\ \ \ \__/\ \ \|\ \ \ \|\ \ \ \\\__\ \ \ \ \ \ \___|_
// \ \ \ \ \ \\\ \ \ \\ \ \ \ \\\ \ \ __\\ \ \\\ \ \ _ _\ \ \\|__| \ \ \ \ \_____ \
// \ \ \____\ \ \\\ \ \ \\ \ \ \ \\\ \ \ \_| \ \ \\\ \ \ \\ \\ \ \ \ \ \ \ \|____|\ \
// \ \_______\ \_______\ \__\\ \__\ \_______\ \__\ \ \_______\ \__\\ _\\ \__\ \ \__\ \__\____\_\ \
// \|_______|\|_______|\|__| \|__|\|_______|\|__| \|_______|\|__|\|__|\|__| \|__|\|__|\_________\
// \|_________|
//
//
var x;
var y;
var r;
var g;
var b;
var scope;
function keyPressed() {
if (key === 's') {
saveCanvas('Conoformis', 'png');
}
}
function setup() {
createCanvas(1000, 1000);
x = width / 2;
y = width / 2;
r = random(0, 255);
g = random(0, 255);
b = random(0, 255);
scope = random(2000,4000);
background(random(255), random(255), random(255));
}
function draw() {
// randomly move line
var randomValue = random();
if(randomValue < .00001){
x--;
}
else if(randomValue < -.5){
x++;
}
else if(randomValue < .99999){
y--;
}
else{
y++;
}
// wrap around left and right sides
if(x < 0){
x = width;
}
else if(x > width){
x = 0;
}
// wrap around top and bottom sides
if(y < 0){
y = height;
}
else if(y > height){
y = 0;
}
// randomly change color
r += random(random(-10,-20), random(10,20));
g += random(random(-10,-20), random(10,20));
b += random(random(-10,-20), random(10,20));
// don't let values go outside 0-255 range
r = constrain(r, 0, 255);
g = constrain(g, 0, 255);
b = constrain(b, 0, 255);
scope--;
if(scope > 0) {
strokeWeight(scope);
stroke(r, g, b);
point(x, y);
}
if(scope == 0) {
noLoop();
}
}