Skip to main content

A tree spirit for Opensim / Burning Life


I want to make a self replicating distributed bot + attachment system, which is coupled with a physical computing version of itself which my friend Mat Dalgliesh is making as a physical creation.

Here is the spec:


The tree idea is a reflection of a physical computing tree, created using arduinos, sensors and motors.

Leaves are attachments with a built in fall script. When they fall, they slowly degrade, becoming darker until they become a particle effect and delete themselves. New leaves take donations from users. If they get donations, they grow bigger and live longer. They pass this donation to the trunk who divides it around the rest of the plant.

Here is a little bit of a proto-leafgen script:

// Rez an object on touch, with relative position, rotation, and velocity all described in the rezzing prim's coordinate system.
string object = "Leaf"; // Name of object in inventory
vector relativePosOffset = <2.0,>; // "Forward" and a little "above" this prim
vector relativeVel = <1.0,>; // Traveling in this prim's "forward" direction at 1m/s
rotation relativeRot = <0.707107,>; // Rotated 90 degrees on the x-axis compared to this prim
integer startParam = 10;



default {

state_entry() {
vector myPos = llGetPos();
rotation myRot = llGetRot();

vector rezPos = myPos+relativePosOffset*myRot;
vector rezVel = relativeVel*myRot;
rotation rezRot = relativeRot*myRot;
llSetObjectName("Leaf");
llRezObject(object, rezPos, rezVel, rezRot, startParam);
}

touch_start(integer num_detected) {
llRequestPermissions(llDetectedKey(0), PERMISSION_ATTACH);
}

run_time_permissions(integer perm) {
if (perm & PERMISSION_ATTACH) {
llAttachToAvatar(ATTACH_RHAND);
}
}

}



Fruits are controlled by all the other parts: they accumulate currency, and can spawn more of themselves when small. When big, they have a drop script. It becomes a little ball that gives something nice, like textures, or sim currency when picked. Just before it drops, it transfers any remaining goodness inside it to the trunk



The trunks are all bot avatars, run after being prepared by humans. Each time the tree needs to grow by another bit, another avatar is needed to be attached to a linking attachment. By use of animations, they could even be intertwined with each other. It uses currency to upload textures of it's older self - used in all other parts. If restarted, the bot scripts will start from seedling.

The avatar is heavily made up: it will have trunk and root- like attachments. sounds and animations, and then generators for the fruits and leaves, It is a bot, communicating with the attachments it wears via hidden channels. Maybe that's how a tree spirit should.



Roots are born when the tree is on some land. They could be non physical and locked to a place, so they function as an anchor. It can be engineered that only way it could be moved would be by the addition to the tree of a rooting script, temporarily making the tree physical. Not sure if these will be needed really though.

To kill it, because it can respawn trunks which automatically wear leaves and accumulate money, you would have to ddos all the bots that run it, and they can be connecting from different servers, which could make it quite a resilient little plant.

So this is an opensource project at the moment. It is a cross between content, character design ecology and commerce. It should be fun! Let me know if you'd like to be involved!

Comments

Popular posts from this blog

Poem for peace, from a pirate recording in a Cairo Museum.

My love With peace I have placed loving flowers at your feet With peace With peace I stopped the seas of blood for you Forget anger Forget pain Forget your weapons Forget your weapons and come Come and live with me my love Under a blanket of peace I want you to sing, beloved light of my eyes And your song will be for peace let the world hear, my beloved and say: Forget anger Forget pain Forget your weapons Forget your weapons and come And live in peace These I believe are the words of a widow at the tomb of her beloved. I got the words from this italian website . It was used in a seminal Italian anti-war song " Luglio Agosto Settembre Nero " by the band Area (although I guess they weren't called anti-war songs then) - whose vocalist Demetrio Stratos indirectly gives the name to this blog, and whose music is the inspiration for a lot of my mine. It's adapted in turn from a greek folk song, but no-one knows who wrote the original words, except that Stratos was probably...

Using social currencies to fund the energy transition

This post is a translation of a proposal by Susana MartĂ­n Belmonte of which the original will soon be posted! On July 13 2016, the city of Barcelona published a government measure to create an energy operator in the city . This operator aims to accelerating the energy transition to renewable energy sources, facilitating the citizen's energy self-consumption, and providing the citizens with access to electricity generation business income, as well as addressing economic justice goals, such as ending energy poverty. One of this project's key points is financing new renewable energy generators, and this is where the social currency that the city of Barcelona is planning can play a very interesting role. I drafted the proposal that comes next and I shared with the economy and ecology groups, as well as the social currency group at Barcelona en ComĂş. In addition, this can also be framed in the working group on energy and climate change mentioned in the doc...

Reviving Indigenous Wisdom: Exploring the Intersection of Paganism, Shamanism, and Decolonisation

For me, paganism in the British Isles has primarily revolved around music, ceremonies at stone circles, solstice singing, and practices like Samhain. It also encompasses eco-awareness and active defense of the Earth. I've also wondered how these practices differ from Norse, Germanic, or other cultural traditions. Recently, as I got into Andean spirituality or cosmovision especially since the time of the chilean uprising in 2018 and when I witnessed indigenous delegates attending COP26 in Glasgow, I discovered connections between Mapuche ceremonies from the southernmost ends of the Americas and those performed by Scottish groups with ties to indigenous or at least traditional spirituality. Through these ceremonies, people expressed a sense of rekindling a lost link. I believe this spirit stems from a desire to heal a wound or reclaim something that was taken away. In Chile and other parts of the world, we refer to this process as decolonising. Perhaps it arises from the belief that ...