Translate

Showing posts with label code. Show all posts
Showing posts with label code. Show all posts

Friday, December 16, 2022

Moon Phase code by GPT3

 

Here is a simple code that can be used to determine the current moon phase:

import datetime

def get_moon_phase():
    # Get the current date and time
    now = datetime.datetime.now()
    
    # Calculate the moon phase using the current date and time
    # This calculation is based on the formulas provided by the
    # United States Naval Observatory
    # (https://aa.usno.navy.mil/faq/docs/moon_phases.php)
    age_days = now - datetime.datetime(2001, 1, 1)
    lunations = age_days.days / 29.530588853
    phase = lunations - int(lunations)
    if phase < 0.5:
        return "New Moon"
    elif phase < 0.53:
        return "Waxing Crescent"
    elif phase < 0.75:
        return "First Quarter"
    elif phase < 0.78:
        return "Waxing Gibbous"
    elif phase < 0.99:
        return "Full Moon"
    else:
        return "Waning Gibbous"

# Example usage:
print(get_moon_phase())

This code uses the current date and time to calculate the moon phase, and returns the phase as a string (e.g. "Full Moon"). The calculation is based on the formulas provided by the United States Naval Observatory.

To use this code, you can simply call the get_moon_phase() function, which will return the current moon phase. You can then display the moon phase to the user or use it in other parts of your code as needed.

Sunday, December 11, 2022

add batch images to stable diffusion

 here is the code to add batch images to stablediffusion


Here is a simple Python program that can be used to automatically load a batch of images into Stable Diffusion to train an algorithm:

import os
from stable_diffusion import StableDiffusion

# create a StableDiffusion object
diffusion = StableDiffusion()

# define the directory containing the images
image_dir = "path/to/image/directory"

# loop through the images in the directory
for filename in os.listdir(image_dir):
# load the image
image = cv2.imread(os.path.join(image_dir, filename))

# add the image to the diffusion object
diffusion.add_data(image)

# train the algorithm using the loaded images
diffusion.train()

This program assumes that you have the stable_diffusion package installed, and that the images are in a directory on your local machine. You may need to adjust the code depending on the specific requirements of your project.

written by GPT3 + technoshaman001

Monday, October 26, 2020

"the transhumanist body project, bodies that belong to virtual reality, to the matrix"

 

 

 "In the case of the transhumanists, the specter actualizes itself into reality through the relentless influence of an ultra sophisticated Christian theology on the moderns, which are the bodies of the resurrected in Jesus Christ. The bodies of the resurrected are thought as “bodies of light” whose functions are the purification and progressive abandonment of human animality. In Christianpolis the bodies of light have their digestive system’s functions minimized, since eating, digesting and shitting display a nonsense animality towards the kingdom of heaven, where the great goal is to praise the glory of God. These are bodies characterized as liable, subtle, agile and light. They are resurrected bodies, which become the parameter for the transhumanist body project, bodies that belong to virtual reality, to the matrix, bodies that will have nanorobots in their blood cells in order to count, among other things, the exact nutritional requirements that sustain them. The project predicts these nanorobots are responsible for the reduction of the digestive system’s operability,which possess the function of erasing the characteristics of a previous grotesque animality, and slowly approximate the transhumanists to the resurrected bodies’ ideal: sublime and angelical14.Procedurally a theological fiction materializes itself in the concreteness of scientific and technological projects."

FREE COSMOGONY — “D.I.Y. RITUALS” by Fabiane M. Borges Translated by João de Deus

 

Tuesday, April 30, 2019

I went to Pensacola, Florida for my birthday 2019!

 

check out the 360 VR video of me building in Augmented Reality on the beach with my friend gunpigew
 
 




 - technoshaman 

Tuesday, July 17, 2018

Synchronicities are Cascades into more Synchronicities


 I recreated the visual effects of a psilocybin dose in virtual reality - techn0shaman

Given that this mushroom trip was a significant experience that fundamentally altered my life forever I am going to try and download this high bandwidth experience into english in the best way that I can articulate it for you and for myself, but please keep in mind that at any given moment the human brain is receiving a sensory experience of about 40+ HD4K movies every second and english is an inferior method of trying to accurately describe the journey I had taken. So its like compressing 40+HD4K movies into an audio file that is being transmitted over a dialup 56k modem. There is a lot of loss that is going to happen, and some local jargon will be incorporated, however! Please read ahead with an open mind and maybe someone who listens my words will vibrate the same memory or feeling or experience and share that same thing in common with me or similar.


The evening started on the patio around 9pm just in the last few moments of twilight left in the sky to illuminate the deck with a soft warm glow, I was sitting with Jacob a friend since 2009 and now my roomate, Cressa the lovely amazing neighbor who lives upstairs and has become a friend to me this summer because we spend many hours together listening to music, chatting, relaxing in the sun ect. and my friend of 9 years Celestina who I met in Edmonton and has been a great friend and intellectual personality in my life, with the warm summer weather and a clear sky with a huge looming tree that shared this whole experience with my friends and me. I started my dose by eating mushrooms at 10pm and nibbled on them for about an hour while chatting away to my friends, having a drink of cider.  As the digestion of the mushrooms started we all used this time to reflect on other psychedelic mushroom trips we have had, and while discussing that in particular this was an important trip for me because it was my 25th encounter with psilocybin. Tina noted that: “This was my 25th trip in my 25th year” I believe this to be an important synchronicity, this was the cascade into novelty for us, Terence McKenna has taught all of us in the lectures we have listened to , to “pay attention” so we all had the mindset that allowed our pattern recognizing part of the brain active and this created a large amount of data with many synchronicities that began to unfold throughout during and after the trip.


Approximately 1hr 20 mins after consuming 1 gram of psilocybin, My trip began …

with the mental feeling of being propelled upwards at a very fast rate similar to a spacecraft- through a membrane/frequency/atmosphere vertically. After what I assume to be 20 mins give or take I was in what I call “the fungus funk” and it’s a feeling of being in the mushrooms domain/space. So after achieving Ascension by using cannabis to bring the trip into focus I started to see a seductive, kinky, scary, exhilarating entity that was very dark but shimmering with iridescent refractions, this moth type entity had a wingspan of 50 feet or more in diameter with thousands of flickering staring eyes on the surface of it's entire body and wings. This being was teasing me and trying to coax me into the trip. Finally I convinced myself to say yes and after this happened the entirety fully consumed me and that's when I lost consciousness.


This is a recurring theme and it's the third time this has happened to me. After doing some research I have found that this is a phenomenon called a “shaman shake” and it's a complete reset of the brain that allowed me to heal the deepest parts of my soul. In the moment when I blacked out I felt like I was sleeping in warm black velvet while still aware that I was alive. 


Tina recounted to me that I slouched back and knocked over my bong which spilled onto the deck. She said to me “are you okay” three times, but I only heard it once. It’s what brought me back after blacking out.


After awakening from losing consciousness, Cressa returned outside after going in for a moment and my friend Celestina was ultimately worried that I had some sort of neurological seizure, but I assure you this is much different, this is some sort of psilocybin brain reset that happens as a result of personality archetypes and many other factors. This subjective recurring phenomenon that I experienced with taking psilocybin, combining THC/CBD and seeing the entity before blacking out, has me wondering exactly what is going on? I want  proper scientific rhetoric and a research team to study the effects of psilocybin on my brain and the correlation between these events which seem to be linked.


The following 2 hours were very intense and difficult to get through, the physical discomfort from the mushrooms raising and lowering my body temperature was almost unbearable, the visuals were beautiful, I was seeing the tree above me fade in and out of my visual acuity.the recursive frames and visual tracers were excruciatingly beautiful with the stars literally touching our eyes from the milky way galaxy the moments of very hard to get through were made possible by the beauty of my visual cortex being stimulated. Also my friend tina who was a very great support force during the humbling healing aspects of my trip, she was able to answer all my questions relentlessly and assure me that I am fine and this is all part of the process, Tina was the archetypical shaman figure in the ritual that occured that evening. She was the transdimensional seerest who was able to guide me through the 100ft psilocybin waves that would rush in and out. We would be laying on our back and look up at the sky, and see shooting stars trickle across the horizon.

Cressa’s energy was so important to the evening and I told her that too, she was the mother, maiden, crone and kept us all grounded. While the mushroom was healing me by dissolving my ego and my body was telling me I was dieing. It was all for the better, and in the moment I knew that but it still was so difficult and strenuous to get through.


After about 2 hours, I had a breakthrough! At last! Time was an eternity to me at this point and I could feel and see the psilocybin molecules sponge out the residual detritus of the ego and dissolve the anxiety membrane right from inside my brain. Similar to how lichen on a time lapse that has been sped up, the sponging growing feeling within the neocortex was accompanied with visuals. All medicine was founded on shamanic, psychedelic principles.The DNA Helix was discovered under the influence of psychedelics, so I have no doubt that I was gifted this vision from the intelligence that lives inside the mycelium networks that is scattered throughout the galaxy,as a coping mechanism but also from the divine nature of the entity inside that has the innate ability to communicate with me and with others in english. This entity was trying to help me, I believe it was the mushroom, or is inside the dimension that the mushroom changes your frequency too so you can inhabit this zone as a visitor.



To calm everyone down because now things were getting very chaotic as visuals were coming on very strong. We were getting some frame overlay synchronicities were starting to really protrude into this dimension and we were all peaking, we put on a lecture by Terence McKenna, one that I was quite familiar with “Conversations at the Edge of Magic” ; it’s basically the story of humanity from the point of view he created with his ‘Stoned Ape Theory’.’


After finishing the lecture Cressa went inside for what seemed like a fairly long time, as our understanding of time shifted from linear to chaotic. Tina and me were discussing the subjective effects of the neurological reset I had earlier in the evening. I noted that it had been a while since we spoke to Cressa so I went inside to find her standing at the kitchen stove, with a huge ridiculous, sparkly, hilarious, crinkly wrapper and what was inside???? A surprise?? A miracle?


a giant chocolate egg!! that was made of swiss chocolate that she had inherited as a gift from the previous owner of the apartment. We were all giggling and carrying on about how hilarious it was, as Cressa was smearing peanut butter on the chocolate and taking bites to eat. It was so funny and there actually was a surprise inside. Specifically for me! [i’m going to leave out what it was for some mystery]


Once we returned outside we played some uplifting space ambient music.

Cressa, Celestina, and myself took this time to reflect on our positions in the universe, the world, the context of our culture, how the culture is sick, what we can do about it, how we can channel the positive aspects of our psychedelic teachings back into our lives and integrate them into our outlook on the world. Where humanity will exist in the future. Where we are going, The past and how we can redeem history by saving the human soul. all combined into one moment of excruciatingly beautiful complex emotion and geometry.


While all of this chatter about the universal future humanity, one consciousness. Satellites were passing by and we were seeing shooting stars all evening. I had brought out a crystal ball that was a gift from Lady Tamarra, the founder of the Wiccan church of Canada. Cressa and me were studying the light refractions from the candle flames, and looking deep into the crystal physically, describing it to each other, then Celestina joined in and we had a really great discussion about magic. At the time that I received the crystal ball I did not fully understand the full meaning of what that would entail. This is a very magical crystal. It goes from life to life, witnessing magical events. Collecting wisdom. I wonder what memories its gained from Lady Tamarra, where did she get it? Who made this thing? As far as I am concerned this is an oracle of some sort that is going to be with me for a period during my life and then be passed on to a future generation to teach and inspire and fill the caretaker with wonder.


Now the visuals are starting to fade and a quiet serene feeling is in the air, we all look to the stars and I notice the ISS international space station, We all looked to the sky at the same moment after I pointed it out, and when we did. The whole thing flared up with light for one second. I think the solar panels were positioned in just a way, to be hit by the sun and reflect into our viewing range. It was absolutely incredible. 


We are blessed, synchronicities are cascades into more synchronicities.


The munchies were kicking in, it was 4am and after smoking cannabis all evening and coming down from our mushroom peak we wanted some food. I suggested that we have peanut butter and jelly sandwiches, so I went down to my apartment, said hello to my beautiful best friend, my dog Odis and kissed him and then grabbed all the supplies we needed for snack time. I emerged from the basement and sat back down on the patio with bread, creamy soft peanut butter, and smuckers raspberry jam. It was delicious, it was so nice to have had a successful mushroom trip and good vibes all evening. We were all just taking in the moment together and eventually we started to get tired, Cressa announced that she wanted to go to bed. Celestina and me decided that we were going to sleep on the patio because it was so nice out and we already had our blankets out there anyway.


I fell asleep peacefully on the patio under the night sky and was awoken at 10am by the birds chirping and the hot sun beating down on me. It was so spectacular. The afterglow had me feeling great and I spent the day relaxing in the sun with my friends. 


That was one of my favorite encounters with psilocybin and I will spend the next few weeks and months assimilating everything I have learned from this experience. I am glad to be able to share this experience with you, no matter how bad of a download into english it is from full immersion virtual reality in my memory. I am happy to had been able to experience this and I look forward to a day in the future when our civilization is more enlightened. These consciousness expanding hallucinogens are essential to the evolution of the individual and the society.


- techn0shaman

 


Sunday, April 22, 2018

techn0shamans Mind Palace lobby 2018

 

techn0shamans Mind Palace lobby 2018

Tuesday, January 16, 2018

Psychedelic Art Gallery in JanusVR

 

 

[THE JOURNEY] - technoshaman's psychedelic art show!

a team of friends and developers came together to help me create my very own art gallery on the internet! thank you @VESTA @JANUSVR @FIREFOX @AUSSIE for making this dream come true!

IF YOU CLICK ON EACH ART PIECE YOU CAN LISTEN TO A SOUND CLIP OF ME EXPLAINING THE ONE YOU SELECT
 
art and room by techn0shaman

Code used to create this room

[<FireBoxRoom>
<Assets>

<AssetObject id="Main" src="https://vesta.janusxr.org/files/Aussie/techno/ArtSpace.dae.gz" />
<AssetObject id="MainS" src="https://vesta.janusxr.org/files/Aussie/techno/Art.dae" />



<AssetSound id="audio1" src="https://vesta.janusxr.org/files/Aussie/techno/1.mp3" />
<AssetSound id="audio2" src="https://vesta.janusxr.org/files/Aussie/techno/2.mp3" />
<AssetSound id="audio3" src="https://vesta.janusxr.org/files/Aussie/techno/3.mp3" />
<AssetSound id="audio4" src="https://vesta.janusxr.org/files/Aussie/techno/4.mp3" />
<AssetSound id="audio5" src="https://vesta.janusxr.org/files/Aussie/techno/5.mp3" />
<AssetSound id="audio6" src="https://vesta.janusxr.org/files/Aussie/techno/6.mp3" />
<AssetSound id="audio7" src="https://vesta.janusxr.org/files/Aussie/techno/7.mp3" />
<AssetSound id="audio8" src="https://vesta.janusxr.org/files/Aussie/techno/8.mp3" />
<AssetSound id="audio9" src="https://vesta.janusxr.org/files/Aussie/techno/9.mp3" />
<AssetSound id="audio10" src="https://vesta.janusxr.org/files/Aussie/techno/10.mp3" />
<AssetSound id="audio11" src="https://vesta.janusxr.org/files/Aussie/techno/11.mp3" />
<AssetSound id="audio12" src="https://vesta.janusxr.org/files/Aussie/techno/12.mp3" />



<AssetImage id="Annotated_skybox_Irradiance" src="https://vesta.janusxr.org/files/Aussie/techno/HDRcubemap_irradiance64.dds" tex_clamp="true" />
<AssetImage id="Annotated_skybox_radiance" src="https://vesta.janusxr.org/files/Aussie/techno/HDRcubemap_radiance256.dds" tex_clamp="true" />

<AssetImage id="envprobe" src="https://vesta.janusxr.org/files/Aussie/techno/envprobe.jpg" />

<AssetScript src="https://vesta.janusxr.org/files/Aussie/techno/interactionJS.js" />
<AssetScript src="https://vesta.janusxr.org/files/Aussie/somafm.js" />
<AssetVideo id="tv2" src="http://yt.janusvr.com/getvideo.php?videoid=rRr-DZmYER0" auto_play="true" loop="true" />
<AssetObject id="Maincol" src="https://vesta.janusxr.org/files/Aussie/techno/ArtSpacecol.obj" />
</Assets>

<Room use_local_asset="room_plane" pbr="true" visible="false" pos="1.65 0 -1.6" xdir="-0.760286 0 -0.649588" zdir="0.649588 0 -0.760286" cubemap_radiance_id="Annotated_skybox_radiance" cubemap_irradiance_id="Annotated_skybox_Irradiance" walk_speed="0.58" run_speed="3" default_sounds="false">

<Light js_id="walllight"  xdir="1 0 0" ydir="0 0 1" zdir ="0 -1 0" visible="false" pos="0 3 0" light_intensity="50" light_cone_angle="0.0001" light_cone_exponent="10" light_range="20" col="#FFE5C6" />

<Object id="Main" envmap_id="envprobe" collision_id="Maincol" />
<Object id="MainS" lighting="false" />

<Object id="plane" pos="-1.434 1000.679 -6.232" xdir="-0.999533 0.000533 -0.030547" js_id="mainvideo" ydir="-0 0.999848 0.017452" zdir="0.030551 0.017444 -0.999381" scale="1.489 0.874 0.99" lighting="false" video_id="tv2" />
<Object id="cube" js_id="i1" visible="false" pos="3.11 1.4 1.95624" scale="0.05 1 1.2" collision_id="cube" onclick="image1()" />

<Object id="cube" js_id="i2" visible="false" pos="3.11 1.4 0" scale="0.05 1 1.2" collision_id="cube" onclick="image2()" />

<Object id="cube" js_id="i3" visible="false" pos="3.11 1.4 -1.95624" scale="0.05 1 1.2" collision_id="cube" onclick="image3()" />

<Object id="cube" js_id="i4" visible="false" pos="1.95624 1.4 -3.11" scale="1.2 1 0.05" collision_id="cube" onclick="image4()" />

<Object id="cube" js_id="i5" visible="false" pos="0 1.4 -3.11" scale="1.2 1 0.05" collision_id="cube" onclick="image5()" />

<Object id="cube" js_id="i6" visible="false" pos="-1.95624 1.4 -3.11" scale="1.2 1 0.05" collision_id="cube" onclick="image6()" />

<Object id="cube" js_id="i7" visible="false" pos="-3.11 1.4 1.95624" scale="0.05 1 1.2" collision_id="cube" onclick="image7()" />

<Object id="cube" js_id="i8" visible="false" pos="-3.11 1.4 0" scale="0.05 1 1.2" collision_id="cube" onclick="image8()" />

<Object id="cube" js_id="i9" visible="false" pos="-3.11 1.4 -1.95624" scale="0.05 1 1.2" collision_id="cube" onclick="image9()" />

<Object id="cube" js_id="i10" visible="false" pos="1.95624 1.4 3.11" scale="1.2 1 0.05" collision_id="cube" onclick="image10()" />

<Object id="cube" js_id="i11" visible="false" pos="0 1.4 3.11" scale="1.2 1 0.05" collision_id="cube" onclick="image11()" />

<Object id="cube" js_id="i12" visible="false" pos="-1.95624 1.4 3.11" scale="1.2 1 0.05" collision_id="cube" onclick="image12()" />

<Sound id="audio1" js_id="a1" />
<Sound id="audio2" js_id="a2" />
<Sound id="audio3" js_id="a3" />
<Sound id="audio4" js_id="a4" />
<Sound id="audio5" js_id="a5" />
<Sound id="audio6" js_id="a6" />
<Sound id="audio7" js_id="a7" />
<Sound id="audio8" js_id="a8" />
<Sound id="audio9" js_id="a9" />
<Sound id="audio10" js_id="a10" />
<Sound id="audio11" js_id="a11" />
<Sound id="audio12" js_id="a12" />


</Room>
</FireBoxRoom>
]