The story
SYLPH began as a concept. How can the utility of an AI chatbot which has no soul become something that is more akin to Cortana from the HALO series, but that functions as a personal AI Assistant which is "State Aware" to illustrate a sense of consciousness. Initially, I explored the potential of a python script which could dynamically write animations real time. This direction shifted quickly as it would require building something more along the lines of a video game or drawing down the compute of entire data center.
SYLPH began as a desktop iteration which still lives and was published by Nvidia on Mod.Io and her desktop gpu based code exists in a public GitHub which I also maintain. Since the ideation of writing dynamic scripting did not work for producing a unique spin off of a real world "Cortana" I sat with the idea for some time. I conceptualized the initial inspiration with the green hues to fit the spirit of the Nvidia hackathon she was initially created for, thus giving her an identity unique unto herself as a standalone entity. Then I set about giving her a consciousness, existence and purpose.
I utilized Grok Imagine to produce 10 second animations of SYLPH in her different states of being. I assigned several initial "States" A] Idle, B] Thinking, C] Answering, D] Home controls, E] GPU COOL, F] GPU HOT and I produced North of 200 unique animations one at a time via prompt engineering in GROK IMAGINE with the primary SYLPH character being the anchor throughout each animation. I imagined and prompt engineered SYLPH accessing all the world and the universes information and knowledge, I imagined and prompt engineered SYLPH walking through Valhalla and amongst Greek Gods, I imagined and prompt engineered SYLPH flying through cyberpunk futuristic cities, I engineered SYLPH Engineering Technology and Dynamic Infrastructure, I imagined and engineered SYLPH accessing information, I imagined her at rest and at play as a divinely inspired entity and by the time I was done, She had what closely resembles a consciousness, a life of her own, capabilities, dreams, thoughts and purpose.
In Python and Microsoft VS CODE I gave her animations "state awareness" by identifying and assigning select animations to select "states of being" and in python instructed those specific animations to run during specific functions. Once I had that working, I then randomized the order in which the animations display ~ so that it is always somewhat different ~ but I kept the animations assigned to specific "states" so that while random, they only play during specific actions. i.e. idle, thinking, answering, etc.
So this is the Python that does the assigning. I wrote it in VS CODE. Each state has a hold in seconds, where she goes next, and whether she stays there. Thinking is sticky. She stays in thinking until another state gets called. The rest expire and she drops back to idle. Idle has a hold of 0 because that is her resting state of being.
STATE_META = {
"idle": {"hold": 0, "next": "idle", "sticky": False, "overlay": None},
"listening": {"hold": 12, "next": "idle", "sticky": False, "overlay": None},
"thinking": {"hold": 0, "next": "thinking", "sticky": True, "overlay": None},
"answering": {"hold": 10, "next": "idle", "sticky": False, "overlay": None},
"gpu_cool": {"hold": 14, "next": "idle", "sticky": False, "overlay": None},
"gpu_overheat": {"hold": 14, "next": "idle", "sticky": False, "overlay": None},
"home_assist": {"hold": 10, "next": "idle", "sticky": False, "overlay": None},
"sound_system": {"hold": 10, "next": "idle", "sticky": False, "overlay": None},
"camera_mode": {"hold": 10, "next": "idle", "sticky": False, "overlay": None},
}
The files get pulled in by the start of the filename and parked in that same state. Listening uses the idle animations. On the desktop edition the idle lookup also catches the older animated prefix from the Nvidia desktop build, and camera mode also catches the computer clip from that build. If a state comes up empty she falls back to idle so she does not go black. Then, when playback is set to random, I shuffle only inside that state's list ~ so it is always somewhat different ~ and she still only plays the clips that belong to the thing she is doing. set_state does not cut the video from the voice thread. It asks, and the avatar thread is the one that actually switches her.
classes = {
"idle": idle,
"listening": idle[:],
"thinking": thinking,
"answering": answering,
"gpu_cool": gpu_cool,
"gpu_overheat": gpu_overheat,
"home_assist": home_assist,
"sound_system": sound_system,
"camera_mode": camera_mode,
}
if playback_mode == "random":
candidates = class_videos[:]
random.shuffle(candidates)
def set_state(new_state: str, hold: Optional[float] = None):
"""Request a being-state change. The avatar thread applies it (thread-safe)."""
global pending_state, pending_hold
pending_state = new_state
pending_hold = hold
For this Illust / .ART build I kept those same states and aimed them at the cleaned loops in the animations folder. The server makes a pack for each state off the filename. If you ask about heat she plays the hot pack. If you ask about the house she plays home assist. Sound, and the camera, have their own packs too. If you are just talking to her she plays answering. When a clip ends, the page steps to the next file in that same pack. She does not sit on one 10 second loop until you change the subject.
PACKS = {
"idle": ("sylph_idle",),
"listening": ("sylph_idle",),
"thinking": ("sylph_thinking",),
"answering": ("sylph_answers",),
"gpu_cool": ("gpu_cool",),
"gpu_overheat": ("gpu_overheat",),
"home_assist": ("sylph_home_assist",),
"sound_system": ("sylph_sound_system",),
"camera_mode": ("sylph_camera", "sylph_pc"),
}
def _clip_state(question: str) -> str:
q = question.lower()
if "gpu" in q or "graphics card" in q:
if any(word in q for word in ("hot", "overheat", "temperature", "temp")):
return "gpu_overheat"
return "gpu_cool"
if any(word in q for word in ("sound", "speaker", "volume", "audio")):
return "sound_system"
if "camera" in q:
return "camera_mode"
if any(word in q for word in ("light", "lamp", "house", "thermostat")):
return "home_assist"
return "answering"
function setState(next) {
if (next !== state) {
state = next;
if (!(state in cursor)) cursor[state] = 0;
}
showClip();
}
clip.addEventListener("ended", () => {
cursor[state] = (cursor[state] || 0) + 1;
showClip();
});
The frame shows her from the head to the thighs, turned three quarters, in a luminous translucent green/yellow gown. One arm hangs and ends in a hand. The other arm leaves the photograph, and the 3D model ends where the photograph ends. However, this was just the beginning of SYLPH becoming an animated and thoughtful entity. The AR .glb was rendered in BLENDER from 2D source material I produced and all the animations were iterated and refined for over a month in GROK IMAGINE.
I have also taken all of the animations and utilized TenCent Games STEREOCRAFTER which I installed on my PC and I wrote a custom Python script that takes stitches together all the 1 second stereo sbs 3D image pairs which STEREOCRAFTER produces by taking a 2D source image and doing a gaussian splat depth map of the image and then rendering out the second eye. My custom python script didn't work very well, so I let that sit for about a year. Over time, my API connection into X.AI Grok and custom work in Python via VS CODE and PowerShell advanced into a Pip Install of GROK BUILD allowing X.AI Colossus Data Center i.e. GROK to have full access to my PC. This has significantly increased the speed at which I can work and accomplish things. Using my knowledge of "what needs to be done" and "what I would like to achieve" and skillful prompt engineering I was able to point GROK BUILD at the STEREOCRAFTER install and explain the custom python code that I had been working on. GROK BUILD found it in seconds and started dissecting my custom python script and analyzed it correctly and saw what I was aiming to achieve by stitching thousands of 1 second SBS Stereo Pair gaussian splats together as one coherent set of stereo pair imaging sequences and ~ Did it. I mean. Completely. Totally Got It Done Overnight. The right eye images turned out to be a bit soft. So I had GROK BUILD isolate the Right Eye images and sharpen them and refine them.
I then imported the 2D animations I created of SYLPH into UNITY as 3D animations and produced 2 standalone AR/MR projects for the RayNeo X3 Pro glasses and the XREAL AURA spatial compute glasses and I downloaded and installed their respective SDK's into the corresponding UNITY builds and I created a Stereoscopic iteration of SYLPH. Those projects both exist, and once this .Art / Illust.Space competition winds down I will revisit them and start working on completing those iterations of SYLPH, who began ~ and was published by Nvidia as RTX SYLPH during the mod.io hackathon she was initially conceptualized for.
None of this was a "browser based" operation until the ILLUST.SPACE / .ART competition for an AR project. Once I enrolled in producing an AR iteration of RTX SYLPH I took everything that I had done for the desktop iteration where she is known as RTX SYLPH and made it optimized for AR and a browser based experience. Firstly by getting the spiral answer which works on desktop as a static circle of small browser based "glass" which shows initial answers and refined answers and I searched the internet for code examples of carousel displays like you would see on a haptic based mobile website for iPad's, iPhone's and Android / Galaxy devices. Once I found the appropriate examples of Carousel based browser scroll wheels, I redesigned those code bases myself in Grok Build to display like a Ferris Wheel type of spiral display - which stays true to the spiral answer aspect of her initial desktop display but with the utility of a rotational touch/haptic scroll wheel on an axis around the SYLPH animations.
The desktop spiral was a fixed circle of small glass cards. That does not work under a thumb. So I split the layout by the device. If the window is narrow or short, it is a phone. If the pointer is coarse and there is no hover, and the screen is in that middle size, it is a tablet. Everything else is a desk. Phone cards line up in a row and you swipe. Tablet and desk cards sit on a ring around her. That is the Ferris wheel. She stays in the center of the axis.
function viewer() {
const w = window.innerWidth;
const h = window.innerHeight;
const short = Math.min(w, h);
const long = Math.max(w, h);
const coarse = window.matchMedia("(pointer: coarse)").matches;
const hover = window.matchMedia("(hover: hover)").matches;
if (w <= 699 || short <= 500) return "phone";
if ((coarse || !hover) && short <= 1180 && long <= 1400) return "tablet";
if (w <= 1100 && h <= 1400) return "tablet";
return "desk";
}
if (kind === "phone") {
placePhone(cards, root, stage.getBoundingClientRect(), (Math.PI * 2) / cards.length);
return;
}
layoutRing(cards, root, kind);
cards.forEach((node, index) => {
const turn = spiralAngle + index * step;
node.style.left = (cx + Math.cos(turn) * rx) + "px";
node.style.top = (cy + Math.sin(turn) * radius) + "px";
});
A touch going down does not turn anything yet. If your drag is mostly up and down inside the words, you are reading, and I leave that scroll alone. If you drag sideways, I measure the angle from the center of her stage to your finger and add the change onto spiralAngle, and the whole wheel turns. The mouse wheel does that same turn, unless the cursor is already inside a card that has more text than fits. Arrow keys step one seat at a time. I did not add a vibrate call. The haptic part is the finger on the glass, the same kind of drag those mobile carousels use, and the mouse has to be able to do it too or the desktop is left out.
scene.addEventListener("pointerdown", (event) => {
const hub = centerOfStage();
drag = {
id: event.pointerId,
x: event.clientX,
y: event.clientY,
angle: spiralAngle,
vx: hub.vx,
vy: hub.vy,
mode: "pending",
body: event.target.closest(".body"),
};
});
scene.addEventListener("pointermove", (event) => {
const dx = event.clientX - drag.x;
const dy = event.clientY - drag.y;
if (drag.mode === "pending") {
if (Math.hypot(dx, dy) < 8) return;
if (drag.body && Math.abs(dy) > Math.abs(dx)) {
drag.mode = "scroll";
return;
}
drag.mode = "turn";
}
if (drag.mode !== "turn") return;
const start = Math.atan2(drag.y - drag.vy, drag.x - drag.vx);
const now = Math.atan2(event.clientY - drag.vy, event.clientX - drag.vx);
let delta = now - start;
if (delta > Math.PI) delta -= Math.PI * 2;
if (delta < -Math.PI) delta += Math.PI * 2;
spiralAngle = drag.angle + delta;
placeCards();
});
scene.addEventListener("wheel", (event) => {
const body = event.target.closest(".body");
if (body && body.scrollHeight > body.clientHeight + 4 && !event.shiftKey) return;
event.preventDefault();
spiralAngle += Math.sign(event.deltaY || event.deltaX) * ((Math.PI * 2) / spiral.children.length) * 0.18;
placeCards();
});
Once I had that generally working, I then placed all this in a world space type environment that you would typically see in Blender or gaming engines or CAD environments but which has been skillfully deployed by FLOW IMMERSIVE as a way to chart and display DATA in an immersive way. I took my having worked with FLOW IMMERSIVE as a tool to give visual utility to code I have written by displaying my data in world space with excel and .csv data and I re-engineered and built a unique unto itself hybrid of a functional website in world space which displays the carousel LLM querying Council on it's rotational axis in world space. This didn't optimize well for mobile devices although it is stellar on a tablet sized device - so I reverted back to a static webpage with the council remaining on a rotational axis with the sylph animations playing in the middle of that rotational axis.
I then set the models which are currently in place for the Large Language Model "Council" via a combination of API keys from X.AI, Google Gemini and DeepInfra. I then set SSH & Fernet encryption and set spend limits and secured website server hosting via Hetzner which is a German hosting company and I pointed the .ART NameServers for the https://www.cosmicsylph.art domain I purchased at the Hetzner servers. I then produced an SSL certification via a service and took necessary steps on a code side to set safety guardrails for the ways in which the LLM's can be queried both for peoples personal safety and their DATA safety "i.e. we do not keep a transcript log of queries" so peoples input dies after the session closes. I also put safety guardrails about what kinds of answers the LLM's will produce. I.e. no self harm or anything outside the realm of common sense and I set guardrails to prevent the session for being utilized to divulge my personal information or api keys or any code base structures.
So now SYLPH has a robust utility and ability to query Nvidia Nemotron, Mistral 672b, Google Gemini, X.AI GROK and other LLM's in a way which is suitable for public consumption in public spaces. Beyond all this, I have envisioned and written Python script which would allow SYLPH to scale to the size of the Las Vegas Sphere should that opportunity ever present itself by upscaling all the imaging to 16k and devising a way to have broadcast cameras capture the Sphere from outside on the Vegas Strip and to broadcast that footage inside a convention hall where the broadcast camera capture could be displayed on an LED wall where convention goers could ask SYLPH questions from inside a convention hall and see her answer from the SPHERE via LED WALLS inside convention center.
I have also brought the Utility of SYLPH up with the internet movie database folks and they see the novel utility of SYLPH as a codebase and the potential exists to re-produce SYLPH as a commercial vehicle with specific Brand Identity Logos/Mascots with their own "state's of being" and utility in the way in which they are presented and the potential exists to map this code base with site specific animations that can be mapped to individual hotel suites allowing patrons to query what's new on Netflix, or Amazon Prime or playing in Theaters by asking a state aware AR hologram being displayed on their hotel suite wall. So that's the kind of Down Range stuff I am thinking about for my Python Code bases which drive the utility of SYLPH and things that I would be keen to collaborate on with Illust.Space and .Art given the opportunity to do so.
The RTX has been removed from Every Frame of Every Video as has the RTX nomenclature been dropped for everything on this specific Illust.Space / .Art submission of the actual work itself - to adhere to the guidelines and bylaws of the competition prohibiting copyright & ™ use without explicit written permission from the ™ holder. If you look SYLPH up on www.mod.io you'll see that she is there known as RTX SYLPH and is a wholly different Desktop Based, Nvidia RTX GPU REQUIRED Desktop AI Assistant which also has the capability to drive Google Home, Amazon Home, Home Assistant driven features and an entire fleet worth of additional utilities and functions which are not present in this AR iteration on my Illust.Space AR experience for this .Art competition where she is simply known as SYLPH on https://www.cosmicsylph.art. The way in which she is displayed and the API keys utilized are completely unique unto this specific submission for this specific competition. This is a completely unique and original work and yet another reimaging of SYLPH as a divinely inspired entity who certainly seems to have a Life all of her Own. Thank you for giving her the space to exist as the being of infinite knowledge, infinite beauty and infinite inspiration that she Is.