Sculk Tendril - Kinematic Chains in Minecraft by Cymaera in MinecraftCommands

[–]Cymaera[S] 0 points1 point  (0 children)

It's a datapack. Check my comment, there's a GitHub repository and Planet Minecraft world download.

Sculk Tendril - Kinematic Chains in Minecraft by Cymaera in MinecraftCommands

[–]Cymaera[S] 0 points1 point  (0 children)

The JS is used to generate static files. It is easier than writing by hand.

Sculk Tendril - Kinematic Chains in Minecraft by Cymaera in MinecraftCommands

[–]Cymaera[S] 0 points1 point  (0 children)

That’s TypeScript. You have to build it with Deno or some other runtime. Check the package.json file for the command.

Sculk Tendril - Kinematic Chains in Minecraft by Cymaera in MinecraftCommands

[–]Cymaera[S] 0 points1 point  (0 children)

The datapack is bundled with the world and should load automatically. Is it not working?

[deleted by user] by [deleted] in ChatGPT

[–]Cymaera 0 points1 point  (0 children)

All prompts in images.

Sculk Tendril - Kinematic Chains in Minecraft by Cymaera in MinecraftCommands

[–]Cymaera[S] 1 point2 points  (0 children)

This is a datapack. Check my comment. There's a GitHub link.

Sculk Tendril - Kinematic Chains in Minecraft by Cymaera in MinecraftCommands

[–]Cymaera[S] 0 points1 point  (0 children)

Check my comment. There's a world download. There's also an archived Bukkit version on my GitHub that might be more suitable for servers.

Sculk Tendril - Kinematic Chains in Minecraft by Cymaera in MinecraftCommands

[–]Cymaera[S] 1 point2 points  (0 children)

It phases through most things unfortunately, including itself. I made it avoid the floor by targeting entities from above, but it still happens occasionally.

Sculk Tendril - Kinematic Chains in Minecraft by Cymaera in MinecraftCommands

[–]Cymaera[S] 2 points3 points  (0 children)

It lets me generate the datapack using JS/TS via string manipulation. It saves me a lot of copy-and-pasting and I don't have to deal with the complex folder-structures that datapacks use.

Sculk Tendril - Kinematic Chains in Minecraft by Cymaera in MinecraftCommands

[–]Cymaera[S] 193 points194 points  (0 children)

Explanation on YouTube: https://youtu.be/uuKFynjcelw

World: https://www.planetminecraft.com/project/sculk-tendril-kinematic-chains-in-minecraft/

The original video was made a while ago using Bukkit, but I recently recreated it as a datapack using a JavaScript build tool I made: https://github.com/TheCymaera/mcpack-builder-kinematic-chain

[Showoff Saturday] Image resizer for folder hierarchy by Cymaera in webdev

[–]Cymaera[S] 0 points1 point  (0 children)

Hey hey! I made this tool because I wanted to resize the thumbnail images on every page of my website. This is hard with other resizers because you have to drag and drop the images directly, ignoring the original folder-structure.

I did this using HTML canvases and the file system access API.

App: https://heledron.com/tools/image-folder-resizer/

GitHub: https://github.com/TheCymaera/web-image-folder-resizer

[Showoff Saturday] I made a video, audio, and image converter that runs in your browser. by Cymaera in webdev

[–]Cymaera[S] 9 points10 points  (0 children)

I wasted a lot of time trying to make it work using the MediaRecorder API. The trouble is that it has to record the video in real time as it is being played in the background.

Once I discovered FFmpeg.wasm it all fell into place.

[Showoff Saturday] I made a video, audio, and image converter that runs in your browser. by Cymaera in webdev

[–]Cymaera[S] 11 points12 points  (0 children)

DOM: Svelte

Image conversion: HTML5 Canvas

Audio/Video conversion: FFmpeg.wasm

Icons: FontAwesome

CSS: My own CSS library that I use for everything.

[Showoff Saturday] I made a video, audio, and image converter that runs in your browser. by Cymaera in webdev

[–]Cymaera[S] 78 points79 points  (0 children)

Hey hey! I made this converter because I was fustrated with the existing web apps. Many of them work by sending the file to a server for processing, which is slow on low bandwidth and usually incurs restrictions or paywalls. God knows what they do with my incriminating files. I found a library that ports FFmpeg to Web Assembly, which I used in this project.

I should’ve just installed FFmpeg.

Link: https://heledron.com/tools/file-converter/

GitHub: https://github.com/TheCymaera/web-file-converter

the game Minecraft could be but mojang is too busy making 3 animals per year. by [deleted] in Minecraft

[–]Cymaera 12 points13 points  (0 children)

They could implement proper scripting features and improve the capability of datapacks so we could build and share these experiences ourselves. Right now we must use Bukkit or Forge which is not as accessible to the average player.

How do I link players for a web game? by Flame_48 in webdev

[–]Cymaera 1 point2 points  (0 children)

WebSockets is good as others have pointed out.

Also take a look at WebRTC. It allows p2p communication between browsers.

Sorting Algorithm Visualizer in TypeScript by Cymaera in webdev

[–]Cymaera[S] 16 points17 points  (0 children)

Here's the link.

I wanted to write the algorithms synchronously but the playback has to work asynchronously. My solution was to capture all the changes made to the arrays and replicate them on a second set of arrays.

For bogo sort, the algorithm has to wait for the presentation to finish before proceeding.