#🌊 STREAM - Logic Web Editor 🛠
1 messages · Page 2 of 1
like what, desmos in the game?
i have personally used geogebra and matlab more than desmos tbh
but geogebra is like a weird version of desmos soo pretty much the same
also, just out of curiosity does it cost you anything to run the site? @atomic badger like does github want money for that sort of thing?
no wait is it 100% locally run via javascript so it
nope! github pages is free-- it's only for static sites though
if I wanted to ex: have "share links" or "accounts", i'd have to host it myself
yup!
spaghettiscript
i had heard about locally run javascript never thought it could be brought to that long of extent
i doubt i could do anything better, the only programming language im somewhat good in is C and matlab 😭 and hopefully comsol later (but that's more like a simulation tool)
i mean, look at google earth for example
the only thing the client needs is the image data
then the client processes the images all then and there
pretty sure they use WASM too
ig if you count LaTeX that too
fair enough, imagine the computational costs if they did everything locally, not to mention the data needing to be transfered
well, they do most if it locally-- but yea
the server is responsible for getting the "image tiles" required to render the environment
then the client reconstructs it
instead of rendering on the server, render on the client-- it's usually faster excluding device performance; look at RDP (remote desktop), it's only slow because you have to send a latency ridden video stream!
yeahh, had to do office work on a RDP due to GDPR concerns eugh
i get why, but it was either go use a local computer at the company (several hours commute each day) or just do via RDP and some fancy like total system lockdown during that of my normal system
the software asked for like.. all the permissions it could get on my computer lol, i did a clean reinstall of windows after that job
oh yea, regulations and policies are an absolute mess
heck i had to edit some of said policies, only internal job related ones tho
spent like 100+ hours that job just pressing copy paste, over and over... then looking that i did said copy paste correctly
completely soul killing
so i've heard, but someone has to do it ¯_(ツ)_/¯
meh it was a summer job, not my actual future job (ill be using excel instead there...)
THATS GONNA BE SICKKKKKK

both lua and js use 64 bit floats, so depending, that should be the overflow cap
and if two wires connect to a point, their values get added up, that's why it's doing that
ex:
i sure hope so
do make sure that you're capping any values that go past (1 * 10^16) - 1 to that value
ingame wire values cannot go above that
is it just a max, or does it overflow to 0?
its a max
dividing by 0 also yields the max value
useful--
interesting, if you have two wires connect to one node (w/ max value), will it still add the value, or just cap it there too?
i believe it should cap it, lemme check
ex: max + max into divide by 3, will it just be the max / 3 or the (max + max) / 3
curious edge case
adding max+max results in max
lemme connect 2 of these into the same component
oh wow you're right
i doubt that's intentional lol
so that means when the wires update, it caps the output value-- makes my life easier so i'm all for it!
very interesting edge case
the more you know
to recap:
- wire outputs are capped at 10^15 - 1
- port inputs can go above this cap by connecting multiple wires to a single port
- dividing by 0 outputs the maximum value
yup! very useful to know,
my final question
how does XAND perform arithmetic on values, if you know?
for binary logic it's all fine and dandy.. but we are in the world of decimals
well lemme take a look here
if both inputs are exactly 0, it outputs 10 (like a NOT gate)
if both inputs are equal, it outputs the input
if the inputs aren't equal, i don't think it output anything
it's that easy? dang
okay then, thanks
the joys of floats
All this time I’ve been using xand gates as if they are just compact and gates and not gates
moment
its 15 9's is the max so i may have been wrong on the value
so then it's (1+e15) - 1
yea thats prolly more like it
he specifically cut it off before the float interval became greater than 1
i always get it mixed up
👍
fire emoji
It definitely will, I don’t care if it takes a week, month or year to perfect that is probably my only complaint about using the website. That’s gonna make SO many things so much easier to do
such a great idea

@atomic badger im running into a strange issue with this setup; if i place the frequency before the relay and the blocker, the relay and blocker ignore the control signal input entirely
if i place the frequency after the relay and blocker it works fine
here's the file
that is exceptionally weird, the output node on the relay even is active, it just doesn't update the connection itself
yeah its really weird
if you turn off the switch on the left when the frequency is on, it flickers to the right state for 1 tick
;-;
the oddest part is that it works fine if the frequency was placed before the relay/blocker
if you remove the frequency, place it back, and re-connect it, it works fine
something weird about the order or smthn idk
i think it might be node place order
but weirdly, it's the number interface that matters?
oh no, it's the blocker
would make more sense if the blocker had smthn to do with it
figured out why
when the frequency is updated first
if it's active, it keeps sending "hey i updated" pulses out, so it blocks the blocker/relay from changing state
it is supposedly supposed to check, but for some reason 10 != 10
sure, why not
goofy
it's also different from the hz clock where it just uses a global timer with a modulo, i'm not sure how the real game handles it
the hz clock actually "schedules" the change, that's why theres a slight delay from going to low to high, it has to reach the next scheduled tick-- it should clear it but, whatever
yeah the timing components are weird, i dont rlly know how they work ingame very well
but i know that the frequency set to 0.5 will stay on for 0.5 seconds then stay off for 0.5 seconds, if you can allow decimal input into that it would be great
?
oh when did you add this lol
i didnt realize you added decimal values to the frequency 😭
last push, also included the connection update ordering "correction"
ah ok epic
anywho, i'll fix this in the next push (that includes the new wiring)
ty :p
does the hertz clock have decimals too? (not sure if it has them in the game)
it doesnt iirc
i kinda needed a signal that flashed lower than 1hz when i did a project, i ended up using frequency's
it was for a friends base, he wanted lights on his wall (think like the airplane warning lights) that flashed "semi randomly, but still with a pattern"
it does sorta stress test the thingy if i run it lol
i have a random compotent to it so it also ranges a bit in light intensity
i think he had like 30 lights or so? so he just sorta picked from the 10 different options randomly and got a good effect
very peculiar way to do it, im not sure if it'll line up with how in-game frequencies work?
It worked lol
how to make looping signals guys
@atomic badger phone support yet?
give it a try...? use full-screen to make it a little more bearable
if it doesn't work, I dunno what to tell you
im not really sure its built for such a small screen, or really even touchscreen!
doesnt let me place nun
bump (i keep needing to refer to this)
b
is the wire value limit implemented? messing with an incrementer and
how logic color win 777 fix . help me
send a value between 1 and 9 to the color port on the 14-segment display for color
you're currently sending 777
to the wrong port too
it will be in the newest release
but i dunno when that'll be
concurrently, it's just bounded to >0 afaik
fair enough
is there some way to slow down the time in the editor or letting it "step" by step go trough what happens
to easier understand what's going on?
there "used to be", but since updates are tied to user input, it was a bit clunky to work with
i might re-add it later, i'll just have to reorganize some stuff i think.
i can sorta see how it would be hard to implement
but i have this very specific flashing problem in a build i have that after doing some ingame testing is inconsequential but still frustrates me, the sort of flashing that if it was like minecraft id freeze ticks and step trough them with commands
the only thing i can think that would be a "simpler" fix would be someway for it to record something happening and then letting you slow it down (like a video), since it does animate all of the things going on, or someway to view what events happened when
sorta like a log, for a certain execution
fair enough
the currently pushed version's updating is also a little bit wrong, so that might not help, so if you are doing very game-specific timings, that'd be why?
just built it in the game and it works without major issues
b
With stream, you can create node flows with pre-defined environments to create and innovate.
wdym links wernt allowed?
i dont think the rule is used for everything though
they're more likely referencing that the post says the link isn't allowed, even though the link was whitelisted
ohh
I made a logic web editor for the "fun of it".
It can be accessed at link (on my github AfterAStorm under the repo name "stream" because the mods disabled links in posts >:[) , and for the keen javascript enjoyers, feel free to look at the source... it's abysmal.
It only fully supports PC (keyboard+mouse) , I haven't done any testing with mobile or other control schemes
EDIT: I've also only tested it with webkit (ex: chrome) so it may not work on other browsers
Attached video is an example of it in use to create a magnificent keyboard; performance is a needed improvement and some edge cases aren't accounted --> connection order actually matters in-game for some reason and such >:(.
?
Add a community option where people can upload their designs
What does URI too long means?
It was too long to make it into a url so you have to save it as a file and upload it when you want it
@atomic badger is there anyway to see how performance intensive the thing is?
I start lagging so bad when I have something a little complicated opened
I lost my half of the data
I had it download the half logic and then pressed saved from then on then I started playing Roblox when I came back the website auto refreshed (normal behaviour to reload the packets) and it said URI too long
I copied the URI but it’s incomplete data
You shoulda downloaded it when you were finished and updated it by redownloading it and changing the name like blah blah blah 1.0 1.1 and so on
I can’t recover my lost logic?
You might be able to but idk how you would other than going to your history and trying to access it that way
I didn’t make it so idk
History only saves 450 url bytes so yeh it’s lost ig
Yeah
But you already made it and have a downloaded version of it
So you didn’t lose all of it
Yeh I remember how to make it but still I don’t remember the tinkering I made
Yeh I got 50% complete version
Well you didn’t lose everything plus you can re engineer it to make it better
Or whatever
I never touched logics ever this was my first time literally I can’t believe I made my project instead of paying someone to do it
Only hopes is that this website replicate game mechanics and logic works in game too
It replicates some game mechanics but not all of them
Which can’t be replicated pls?
Idk
I’m not a logician dude I just use this to try and help me understand a circuit better
Oh, thanks for information tho
in settings there's a profiler that let's you see update/draw call perf
ive thought of this, but I'd need to host it somewhere and buy a domain... I'd like too, but im not sure there's enough people to warrant it?
ill should probably add a warning to it...
You can’t upload it in the GitHub where you open it? Like ppl can upload it and you can let it be good or not be good
Like isn’t it hosted on GitHub or whatever
Yeah you should
I’ve lost my logic before doing that
technically yes, but then it's not really just a "throw it out there and share it", it's heavily curated, could work though...
It’s life saver for beginners and logic people
If you want I can host it on my site
And connect it via supabase or firebase via cloud flair bucket
@atomic badger what were u typing

the most recent release is even better, but i've been incredibly both lazy and busy to finish and push it :p
thanks for offering, but i'd like to see what i can do... i have the processing power, just not the domain, and i can't decide if i want to split it up or not
hey, can a guy not get distracted?
(/s)
Alright!
Don’t get distracted from your life

three decades later and here we are:
Features
Snapping! Connections now snap to each other and to the grid-- they are also based on graphs instead of individual connections (like the game)
Also, previews while Sharing (ANOTHER button in the top right, you're welcome :3)
All of this is at a new URL (since the share-server and some other technical reasons).
I'll push the new version at some point to a new branch.
Save files from the "old" version should transfer properly, but they are not backwards compatible! (it doesn't merge connections, so there is tons of duplicates-- sorry!)
New LINK: stream.bytestorm.sh
edit: do expect bugs (e.g. selections, runtime), it's been a while since i touched it and i thought i'd at least get it semi-working; the "old" version is still at the original https://afterastorm.github.io/stream/web/editor/
edit2: mobile was not considered with the new connection system, so dont expect that to work very well
epic update
is the old link still up or
oh i just
wow i cant read, cool
lemme test this
yep gotta ask them to whtielist the link
Cool
got it whitelisted https://stream.bytestorm.sh/?share=CG41iP2Z
Heya storm, new editor is awesome can you /thread-pin it?
fire emoji
anyone here know how to make items shake/mix around when a button is pressed
is there a way to see all logic mechanisms made here? @dusty edge
uhh if you mean like a library or whatever... no, people just share the files or images
gotcha
if people send useful flows I could add a library tab of curated flows
I was just wanting to see all logic stuff people have made, to see if any are something I would wanna make
since I don’t understand most of these pictures 
do you know how to make items mix tho, one of my friends used logic to make die shake/mix when a button was pressed
he said button to freq to interactor but it doesn’t seem to be working
nvm
yea, an interactor on a dice makes it roll
was trying it with stars dats why
@atomic badger can you give me the link on the logic thingy
see pins
New Link:
https://stream.bytestorm.sh/
Adds the newer snapping features & connection system & sharing system; doesn't support mobile very well (probably)
Saved flows from the old version are compatible and converted.
Old Link:
https://afterastorm.github.io/stream/web/editor/
Previous system
Saved flows from the newer version are not compatible and will fail to load.
Pls dark mode 
I don’t got laptop to change code to dark mode
to be honest, i'd say the purple in itself is already a "dark mode"; just change your screen brightness?
changing the theming would be a task for sure, since i didnt really design it to change-- we'll see.
Ah alright 👍
What you expect from a ultra dark VSC theme user 😭 that purple is what whiter for me
hey, i love my fair share of dark modes too-- we'll see
Thanks 🙏
@atomic badger please update the GitHub repository with new changes
right...
Hi Storm!
what happened to the old thing?
👋
?
why the new link
it uses a bundled js file and i didnt want to setup ci/cd for building/publishing
2.
the share server is on the same domain and it's easier to only have one [CORS](h ttps://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS) origin (otherwise it's some spicy configuration)
3.
it separates the new/old version (since it's not fully "ready" in its current state)
4.
it's an actual domain instead of a github one
always good to see you, do you think it's possible to pull images from ids from roblox through the api?
And also, how are you doing?
I'm procrastinating as per usual
good
sounds about right
What can I say, when you're given 1380 *4 possible new variations of items an indefinite break is always nice
as get an image from an id
or get the image id from a decal id?
to get an image, i have no idea
from what i know they've migrated some of their apis, depends if you can trick it into giving you an image
i've been able to download songs, though (from at least 2-3 years ago)
it's only a few :p
mb I meant get the image
I know TD's newsletter pulls the roblox images iirc
in-game or elsewhere?
indeed it does
they have completely changed the docs, that's nice.
their internal services are documented properly though which is a good change
https://create.roblox.com/docs/cloud/reference/domains/assetdelivery
Yeah it's quite nice, I was wondering if it would be possible to have billboards in the stream editor, it would preload once and then we could use it
it would have to be proxied because roblox CORS (for obvious reason)
but theoretically, yes...
Understandbly so, I think it would be a cool QoL
i'd say its so advanced it would technically be a new "feature"
Would be such a cool feature
w h a t is this 😭
Omg I hate this so much
The Roblox captchas just make me feel like I'm playing those stupidly impossible captcha games
oh no it's just a meme captcha game
so it's not even the real image, it's just a thumbnail of it
incredible
Yeah the asset pipeline was quite inconsistent and inefficient with Roblox asset requests failing
I think they fall back on thumbnail/CDN paths
It's really fun to make impossible captcha games, not fun to do them
here ya goobs go:
https://github.com/AfterAStorm/stream/commit/329cfadd027b80eb720d345cc0e757f4216aa993
edit: this is not pushed to the github pages site (i moved it to a seperate branch)
@atomic badger my firefox browser is giving me a warning trying to access the bytestorm.sh link, is everything alright with the site?
fixed it!
the certificate expired-- it would've still been fine if you continued
i guess my cronjob didn't update it in time
goofy, thanks!
👍
@atomic badger where do I find a "tutorial" or something for that, because I cant find it on github
About this keyboard
it's included as an example;
a tutorial for what? how to build it? why it works?
it's old and some components don't work correctly (e.g. each press causes a double type)
Is the tut available only from pc
Because I dont see nothing about keyboards
I need a tutorial for a keyboard
How to build one
for one, that's my github profile, not the actual repository for stream
it's hosted at https://stream.bytestorm.sh/
i'd recommend it on pc, but you don't have to be
here's a link straight to the keyboard example, but again, it's not perfect https://stream.bytestorm.sh/?example=keyboard&flow=oaklands
this tool is for designing and sharing designs of logic, not necessarily how to build it
Thanks, I will still try to build it
if you wish to prevent the double-press, replace the memory cell/not gate with this:
(it does not support spamming though, which may causing weird behavior if multiple buttons are pressed at once)
Just wanted to ask about that
Lol
Thanks tho!
👍
Can you make a full Minecraft version inside of oaklands? 
Or build a bo*t
me?
no, i'm too lazy
you'd basically be making a computer at that point since it'd be easier to write instructions than create circuitry
What about making geometry dash 
depends on desired screen resolution and level requirements
Prob stereo madness
Im not 10px will be enough for tidal wave 🫠
maybe start with flappy bird
and you could cheese the graphics with billboards
Flappy bird does sound amazing, tag me when you make the freaky bird
no promises
Alright
@atomic badger does the keyboard work if I replace the buttons with pressure pads?
uhh @atomic badger
there is a problem...
its not typing letter by letter...
nor duble...
triple...
it worked normally for like 5 secs
@dusty edge or @atomic badger i found the error, its with the not gates
happend with my uno thing
yea
the issue for me was that the debounce was less than the amount of time the power was on, even though i used a zero tick thing
k i cant play rn but i can show you an image
Okie
im probably going to make it an image version when i get the chance to
Oh sure you need to
If you will I will buy the uno machine
for how much?
How much you wanna sell me for?
idk
lol
its one of a kind and everybody else is too lazy to make it so like 20-40m
ive seen people getting 100 million in 2 weeks which is less than the amount of time i spent working on this version
20-40 MILLIONS?!
15 million maybe
how much did you wanna pay?
Ill make that uno myself for that price 😭
Less then 1M 😭😭😭
yea thats less than cost to make
WHAT 
for the logic components alone
although they are from when they were more expensive so
2 mil max then? 
Whats theogic price total yea
cant say

more than a million though

@cloud crystal I want to buy his coop tuff uno logic thingy but I'm way to broke
-# wanna give me moni

No 
13mil is too poor
I can always help you make your own for free
Please do 
k tell me when you need to do something related to making uno in oaklands with logic components that you don’t know how to do
How can I kidnap without problems?
Very funny
15 mil for uno 😭 ?
no way you used more than like 500 gate wich would be about 200k
It all was the expensive prices back then
thats still 400k
Inflation
Lemme check rq
Hmm you might be right
Although I spent like 100k on memories alone
And a bunch of money on those overpriced transmitters and receivers
And and gates
And every other gate
transmitter and reciever in a logic build 🥺
I had to
And that was before any of you came up with the fact that they were laggy
did ya fix it?
oh yup, forgot about that
never use zero ticks
they infact dont power for zero ticks, it's all a lie!
How could a zero tick even power for 0 ticks
I though everything has to happen every tick
read the description of the zero tick to understand how it works
What a scam description
lol
¯_(ツ)_/¯
What does that emoji thing even mean
(╯°□°)╯︵ ┻━┻
@atomic badger think there’s ever going to be mobile support?
- how many % would be on mobile?
- a lot of the controls dont translate to mobile very well (see settings window for hotkeys)
- especially dragging and creating wires
- web browsers on mobile are kinda crappy, and all have random edge cases, especially with inputs or styling
- ideally it would be a webapp/P(rogressive)W(eb)A(pp) (so it could be opened like an app), removing the topbar, but i am not paying to release an app (if PWA doesn't work), and im not entirely sure if PWAs work on all devices
mainly #1/#2
technically it should already "work" on mobile, just with limited returns
Yea idk then lol, might not be a huge issue if it’s not on mobile