elijah seed-arita
banner
elij.dev
elijah seed-arita
@elij.dev
| 🌐 FRONTEND 🖥 BACKEND 🎨 SHADERS |
Partner at @internetstudio.bsky.social / working on bluesky (╹◡╹)♡
// i live for the internet
progress today on extending bulk action support to connections (in addition to nodes themselves)

probably need to tweak the z order of the selection outline
November 17, 2025 at 12:56 AM
finished the bones of the flexible action menu system and implemented the first few actions!

actions are displayed conditionally based on whether they're available for the current selection. the example here is that "edit label" is only available when <= 1 node is selected.
November 15, 2025 at 1:38 AM
these new action buttons don't do anything yet, but it will look something like this. planning to add a flexible action button system that displays a union of available actions for the selected elements.
November 13, 2025 at 6:28 AM
an improvement inspired by @allandeutsch.com's reply, which avoids excessive array allocations :D
November 11, 2025 at 10:50 PM
working on upgrading the multi select experience. the goal is to consolidate many context menus into 1 to allow bulk actions
November 11, 2025 at 7:49 AM
i think my approach to finding the bounding rect of a set of nodes is pretty clean. is there a better way in javascript?
November 9, 2025 at 11:29 PM
i'll be sharing my experience hacking out a no-dependencies Expo mobile game in 2 hours at React Native Meetup, which we're hosting in Pike Place! see you there! luma.com/5vaezo59
November 5, 2025 at 7:08 AM
2024-10-16 diagram.page update

ADDED
- Make a Copy

FIXED
- document autosave issue
October 17, 2025 at 12:54 AM
That's it. Here's the final product. You have a player that can move around. This is a very basic game, but I hope it gets your imagination running. I plan to continue this series with a lot more info.

What medium would people prefer? Video, blog, or continuing like this?
October 7, 2025 at 4:06 AM
Cool, now the screen gets cleared. Lastly, to make this a "game", let's add some basic controls. Instead of blindly incrementing x and y every frame, let's do it if keys are pressed down. We can add keydown and keyup listeners and toggle some booleans.
October 7, 2025 at 4:06 AM
October 7, 2025 at 4:06 AM
Something happened, but it looks like it's dragging across the screen! We just need to clear the screen before we redraw.
October 7, 2025 at 4:06 AM
October 7, 2025 at 4:06 AM
We can start to make this square move around. Let's create variables for x and y and use them for the position of the square. Then we can move rendering of the square into an "update" function, and update the x and y every frame. Then we set the function to be called repeatedly to make it move.
October 7, 2025 at 4:06 AM
Now, we can use the context (ctx) to draw something on the screen. The parameters for fillRect are (x, y, width, height). Now our program is already doing something!
October 7, 2025 at 4:06 AM
To start the script, we can get the canvas and make a context out of it.
October 7, 2025 at 4:06 AM
Next, we can add a canvas element and a script. The canvas is where the game will render and it has an ID of "c" so we can get it in the code later. And the script will contain the javascript code for the game.
October 7, 2025 at 4:06 AM
We only need one file. I'll create index.html somewhere convenient, with a basic HTML structure.
October 7, 2025 at 4:06 AM
Wanted to share how easy it is to create a simple game in JavaScript. Set aside about 20 minutes, this is what we'll create today - a player you can control with WASD.
October 7, 2025 at 4:06 AM
engineer's design practice 0x3
linear sidebar study

compared to writing code, figma makes me feel like a slug. rn it takes me longer to build out a design in figma than to literally code it. but it's important to try new mediums, and it may help me learn to think differently!
August 24, 2025 at 11:49 PM
today's release, super basic text formatting
July 11, 2025 at 8:53 PM
wasn't able to finish it tonight, but got somethin cool-ish dropping tomorrow. for now GN🛏️
July 11, 2025 at 8:36 AM
just published some bug fixes for diagram.page

- shift+click not selecting multiple nodes
- node menu getting hidden by other nodes
- delete hotkey removing nodes that were previously selected and then deselected
- google auth
- nodes not selectable after dragging
July 8, 2025 at 11:38 PM
seems like svg paths are starting to become a common thread in my work B)
July 4, 2025 at 8:17 AM
more work on pathfinding for diagram.page. trying to preserve the bezier lines when there's an obstruction, instead of defaulting to hard angles.

it's pretty janky rn but i'm starting to feel fairly confident about shipping this feature in the near future once fixed!
June 10, 2025 at 6:42 PM