#🌊 STREAM - Logic Web Editor 🛠

1 messages · Page 2 of 1

atomic badger
#

ah, yea
i've seen those, i think there's one that's literally just a graph editor--the factory must grow!

static copper
#

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

atomic badger
atomic badger
#

spaghettiscript

static copper
#

i had heard about locally run javascript never thought it could be brought to that long of extent

static copper
# atomic badger spaghettiscript

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)

atomic badger
#

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

static copper
static copper
atomic badger
static copper
#

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

atomic badger
static copper
#

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

atomic badger
static copper
#

meh it was a summer job, not my actual future job (ill be using excel instead there...)

static copper
#

i think i made your system mad...

#

mmm off to the interger limit we go

finite socket
#

THATS GONNA BE SICKKKKKK 1_plus 1_plus 1_plus

atomic badger
dusty edge
#

ingame wire values cannot go above that

atomic badger
dusty edge
#

dividing by 0 also yields the max value

atomic badger
dusty edge
atomic badger
#

ex: max + max into divide by 3, will it just be the max / 3 or the (max + max) / 3
curious edge case

dusty edge
#

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

atomic badger
dusty edge
#

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
atomic badger
dusty edge
#

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

atomic badger
#

it's that easy? dang
okay then, thanks

candid forge
#

All this time I’ve been using xand gates as if they are just compact and gates and not gates

dusty edge
#

its 15 9's is the max so i may have been wrong on the value

atomic badger
dusty edge
#

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

atomic badger
dusty edge
#

fire emoji

finite socket
# atomic badger i sure hope so

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 do1_plus 1_plus 1_plus 1_plus such a great idea steamhappy steamhappy

dusty edge
#

@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

atomic badger
dusty edge
#

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

atomic badger
dusty edge
# atomic badger ;-;

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

atomic badger
#

i think it might be node place order
but weirdly, it's the number interface that matters?

#

oh no, it's the blocker

dusty edge
#

would make more sense if the blocker had smthn to do with it

atomic badger
#

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

dusty edge
#

goofy

atomic badger
#

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

dusty edge
#

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

dusty edge
#

i didnt realize you added decimal values to the frequency 😭

atomic badger
dusty edge
#

ah ok epic

atomic badger
dusty edge
#

ty :p

static copper
#

does the hertz clock have decimals too? (not sure if it has them in the game)

static copper
#

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

atomic badger
#

very peculiar way to do it, im not sure if it'll line up with how in-game frequencies work?

lofty shoal
#

how to make looping signals guys

light zinc
#

@atomic badger phone support yet?

atomic badger
dusty edge
#

bump (i keep needing to refer to this)

little kayak
#

b

dusty edge
#

is the wire value limit implemented? messing with an incrementer and

storm bough
#

how logic color win 777 fix . help me

dusty edge
#

you're currently sending 777

#

to the wrong port too

atomic badger
static copper
#

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?

atomic badger
static copper
#

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

atomic badger
static copper
teal sedge
#

b

#

wdym links wernt allowed?

daring pine
#

Logi

#

C

candid forge
#

i dont think the rule is used for everything though

dusty edge
# candid forge

they're more likely referencing that the post says the link isn't allowed, even though the link was whitelisted

candid forge
#

ohh

lucid field
#

@atomic badger idea : add a community channel

#

#1320462590924689449 message

tardy pewterBOT
# lucid field https://discord.com/channels/865737627712749579/1320462590924689449/132046259092...
Command_Storm (@command_storm)

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 >:(.

lucid field
lucid field
#

What does URI too long means?

light zinc
#

@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

lucid field
#

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

light zinc
#

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

lucid field
light zinc
#

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

lucid field
light zinc
#

Yeah

#

But you already made it and have a downloaded version of it

#

So you didn’t lose all of it

lucid field
#

Yeh I remember how to make it but still I don’t remember the tinkering I made

lucid field
light zinc
#

Well you didn’t lose everything plus you can re engineer it to make it better

#

Or whatever

lucid field
#

Only hopes is that this website replicate game mechanics and logic works in game too

light zinc
#

It replicates some game mechanics but not all of them

lucid field
light zinc
#

Idk

#

I’m not a logician dude I just use this to try and help me understand a circuit better

lucid field
atomic badger
atomic badger
atomic badger
light zinc
#

Like isn’t it hosted on GitHub or whatever

light zinc
#

I’ve lost my logic before doing that

atomic badger
lucid field
#

If you want I can host it on my site

#

And connect it via supabase or firebase via cloud flair bucket

lucid field
#

@atomic badger what were u typing skullostawooga gnarp Flabbergasted

atomic badger
# lucid field It’s life saver for beginners and logic people

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

atomic badger
lucid field
atomic badger
#

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

dusty edge
#

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

thick axle
#

Cool

dusty edge
dull tusk
dusty edge
#

fire emoji

scenic fractal
#

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

dusty edge
atomic badger
#

if people send useful flows I could add a library tab of curated flows

scenic fractal
#

since I don’t understand most of these pictures bonkers

scenic fractal
#

he said button to freq to interactor but it doesn’t seem to be working

#

nvm

atomic badger
scenic fractal
modern reef
#

@atomic badger can you give me the link on the logic thingy

atomic badger
#

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.

With stream, you can create node flows with pre-defined environments to create and innovate.

lucid field
#

I don’t got laptop to change code to dark mode

atomic badger
lucid field
atomic badger
lucid field
#

@atomic badger please update the GitHub repository with new changes

dull tusk
#

Hi Storm!

light zinc
atomic badger
atomic badger
light zinc
atomic badger
# light zinc 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

dull tusk
# atomic badger 👋

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

atomic badger
dull tusk
atomic badger
dull tusk
atomic badger
dull tusk
atomic badger
atomic badger
dull tusk
atomic badger
dull tusk
atomic badger
dull tusk
atomic badger
dull tusk
dull tusk
atomic badger
# dull tusk

how is that even anti-bot? that seems more for-bot?

dull tusk
atomic badger
atomic badger
dull tusk
#

I think they fall back on thumbnail/CDN paths

dull tusk
atomic badger
dusty edge
#

@atomic badger my firefox browser is giving me a warning trying to access the bytestorm.sh link, is everything alright with the site?

atomic badger
atomic badger
pseudo carbon
#

@atomic badger where do I find a "tutorial" or something for that, because I cant find it on github

#

About this keyboard

atomic badger
# pseudo carbon 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)

pseudo carbon
#

Because I dont see nothing about keyboards

pseudo carbon
#

How to build one

atomic badger
pseudo carbon
atomic badger
pseudo carbon
#

Lol

#

Thanks tho!

atomic badger
pseudo carbon
#

Or build a bo*t

atomic badger
pseudo carbon
atomic badger
pseudo carbon
#

Im not 10px will be enough for tidal wave 🫠

atomic badger
pseudo carbon
#

Flappy bird does sound amazing, tag me when you make the freaky bird

pseudo carbon
pseudo carbon
#

@atomic badger does the keyboard work if I replace the buttons with pressure pads?

pseudo carbon
#

uhh @atomic badger

#

there is a problem...

#

its not typing letter by letter...

#

nor duble...

#

triple...

dusty edge
#

¯_(ツ)_/¯

#

its an old design so it may have some issues

pseudo carbon
#

@dusty edge or @atomic badger i found the error, its with the not gates

candid forge
pseudo carbon
#

YOU GOT UNO?!

candid forge
#

yea

pseudo carbon
#

Can you show me

#

Please pretty_pls

candid forge
#

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

candid forge
pseudo carbon
#

Okie

candid forge
#

im probably going to make it an image version when i get the chance to

pseudo carbon
#

Oh sos

#

Wow

pseudo carbon
#

If you will I will buy the uno machine

candid forge
#

for how much?

pseudo carbon
#

How much you wanna sell me for?

candid forge
#

idk

pseudo carbon
#

Never heard of that price

candid forge
#

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

candid forge
#

15 million maybe

pseudo carbon
#

15 MILLIONS?!!!

#

HOLY SPIRIT

candid forge
#

how much did you wanna pay?

pseudo carbon
#

Ill make that uno myself for that price 😭

pseudo carbon
candid forge
pseudo carbon
candid forge
#

for the logic components alone

#

although they are from when they were more expensive so

pseudo carbon
#

They are 2 times cheaper now

candid forge
#

its still more than 1 million

#

if you half it

pseudo carbon
#

2 mil max then? crying

candid forge
#

probably yea for the segment display one

#

if you mean logic price

pseudo carbon
candid forge
#

cant say

pseudo carbon
candid forge
#

more than a million though

pseudo carbon
#

@cloud crystal I want to buy his coop tuff uno logic thingy but I'm way to broke

#

-# wanna give me moni crying hewwo

candid forge
pseudo carbon
candid forge
#

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

pseudo carbon
candid forge
#

Very funny

hazy dragon
hazy dragon
candid forge
hazy dragon
candid forge
candid forge
candid forge
#

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

hazy dragon
#

transmitter and reciever in a logic build 🥺

candid forge
#

And that was before any of you came up with the fact that they were laggy

pseudo carbon
#

Just remove the zero tick

atomic badger
#

oh yup, forgot about that
never use zero ticks

they infact dont power for zero ticks, it's all a lie!

candid forge
#

How could a zero tick even power for 0 ticks

#

I though everything has to happen every tick

dusty edge
candid forge
#

lol

dusty edge
candid forge
#

What does that emoji thing even mean

dusty edge
#

type /shrug

candid forge
#

¯_(ツ)_/¯

#

lol

#

I never noticed that

#

Thanks

pseudo carbon
teal sedge
#

@atomic badger think there’s ever going to be mobile support?

atomic badger
# teal sedge <@424935372540215306> think there’s ever going to be mobile support?
  1. how many % would be on mobile?
  2. a lot of the controls dont translate to mobile very well (see settings window for hotkeys)
  • especially dragging and creating wires
  1. web browsers on mobile are kinda crappy, and all have random edge cases, especially with inputs or styling
  2. 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

teal sedge