Simplistic Web Node Box Creator

Post Reply
User avatar
IcyDiamond
Member
Posts: 195
Joined: Fri Mar 30, 2018 08:55
GitHub: LunaSquee
IRC: IcyDiamond
In-game: IcyDiamond
Location: Estonia
Contact:

Simplistic Web Node Box Creator

by IcyDiamond » Post

Image
This is a very simple 3D node box editor that I put together in an afternoon. There are a few issues, but it works for the most part. It also runs in the browser and does not require a web server!

Try it here: https://lunasqu.ee/apps/3d/nodebox/
Source code: https://github.com/LunaSquee/nodebox-editor

Controls:
  1. Middle mouse button + mouse move pans the camera around
  2. Scroll wheel zooms
Known bugs:
Textures are currently applied incorrectly.
Last edited by IcyDiamond on Fri Mar 30, 2018 09:40, edited 1 time in total.
Web developer | Systems Administrator

User avatar
rubenwardy
Moderator
Posts: 7101
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: London, United Kingdom
Contact:

Re: Simplistic In-browser Node Box Editor

by rubenwardy » Post

Please may you call it Web Nodebox Creator or something, just to avoid the acronym NBE which is my project

Looks interesting though. Make sure you implement a drag and drop to load projects, and a data URL to save them. It would also be good to see a 4 pane view with handles to change the bounds of boxes like in NBE

What's the license and have you released the code somewhere?
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
IcyDiamond
Member
Posts: 195
Joined: Fri Mar 30, 2018 08:55
GitHub: LunaSquee
IRC: IcyDiamond
In-game: IcyDiamond
Location: Estonia
Contact:

Re: Simplistic Web Node Box Creator

by IcyDiamond » Post

Yes, I've linked the source code on the OP. And it's currently unlicensed, but it's pretty simplistic so I guess you could consider it WTFPL.
Web developer | Systems Administrator

User avatar
StarNinjas
Member
Posts: 411
Joined: Wed Mar 14, 2018 00:32
GitHub: starninjas
IRC: StarNinjas
In-game: J1
Location: Terrarca
Contact:

Re: Simplistic Web Node Box Creator

by StarNinjas » Post

I've been using this a lot thx!
but I think there is a problem when you add textures it adds it to every block not just the top of all of them together because that's how mintest textures work, it looks all squeezed in

-J1
Don't go to bed tonight, without knowing what would happen if you died. https://thegospelfilm.org/

User avatar
IcyDiamond
Member
Posts: 195
Joined: Fri Mar 30, 2018 08:55
GitHub: LunaSquee
IRC: IcyDiamond
In-game: IcyDiamond
Location: Estonia
Contact:

Re: Simplistic Web Node Box Creator

by IcyDiamond » Post

StarNinjas wrote:I've been using this a lot thx!
but I think there is a problem when you add textures it adds it to every block not just the top of all of them together because that's how mintest textures work, it looks all squeezed in

-J1
Yeah the textures are broken. I'm currently busy with other things so I don't have the time to try to fix this, I'm sorry.

I recommend that you check out the nodebox editor by RubenWardy: https://rubenwardy.com/NodeBoxEditor/
Web developer | Systems Administrator

User avatar
StarNinjas
Member
Posts: 411
Joined: Wed Mar 14, 2018 00:32
GitHub: starninjas
IRC: StarNinjas
In-game: J1
Location: Terrarca
Contact:

Re: Simplistic Web Node Box Creator

by StarNinjas » Post

Yes I like RW's but for some reason I have had an error with a computer I have been using.
this will work for now thanks!
Don't go to bed tonight, without knowing what would happen if you died. https://thegospelfilm.org/

User avatar
Nininik
Member
Posts: 955
Joined: Thu Apr 06, 2023 01:55
GitHub: nininik0
IRC: nininik
In-game: nininik
Location: CA, Team thunderstrike headquarters
Contact:

Re: Simplistic Web Node Box Creator

by Nininik » Post

i love this i used it today was very helpful for making a plane seat
↯Glory to Team Thunderstrike!↯
↯T.T.S.↯

User avatar
Sheriff_U3
Member
Posts: 38
Joined: Tue Aug 19, 2025 00:38
GitHub: Sheriff-Unit-3
IRC: Sheriff_U3
In-game: Sheriff_U3
Location: USA

Re: Simplistic Web Node Box Creator

by Sheriff_U3 » Post

I have a current version of this tool on Codeberg, it is the same at the core, biggest differences are in the updated UI and an import feature. I did rename it to Luanti Node Box Creator. It does still have part of the texture bug.

All you need to do is put it on a web server or open index.html in your browser. The old controls do still work in case someone just can't break the habit. You need to click on the view port before using any of the controls. Mobile support is not there yet, if you do decide to use mobile though I suggest that you put your phone in landscape mode.

Latest version can be download from the releases page or by clicking here.
Watch out! You never know when I'm around the corner.

User avatar
Linuxdirk
Member
Posts: 3405
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Simplistic Web Node Box Creator

by Linuxdirk » Post

Why do I only see this now! That’s a really cool web application! It’s not annoying to use, is not complicated. A very good successor for the discontinued NodeBoxEditor.

… I just spammed the repo a bit :)

User avatar
Sheriff_U3
Member
Posts: 38
Joined: Tue Aug 19, 2025 00:38
GitHub: Sheriff-Unit-3
IRC: Sheriff_U3
In-game: Sheriff_U3
Location: USA

Re: Simplistic Web Node Box Creator

by Sheriff_U3 » Post

Now you know why I decided to take it on! Don't worry about spamming the repo with your helpful issues and pr's :)
Watch out! You never know when I'm around the corner.

bgstack15
Member
Posts: 70
Joined: Fri Feb 28, 2025 02:31

Re: Simplistic Web Node Box Creator

by bgstack15 » Post

Really useful, thanks! For python3/debian, it would be these instructions:

Code: Select all

sudo apt-get install python3-rangehttpserver
python3 -m RangeHTTPServer 8080
cdb_5ea39b4225fd

User avatar
Sheriff_U3
Member
Posts: 38
Joined: Tue Aug 19, 2025 00:38
GitHub: Sheriff-Unit-3
IRC: Sheriff_U3
In-game: Sheriff_U3
Location: USA

Re: Simplistic Web Node Box Creator

by Sheriff_U3 » Post

bgstack15 wrote:
Fri Apr 03, 2026 18:42
Really useful, thanks! For python3/debian, it would be these instructions:

Code: Select all

sudo apt-get install python3-rangehttpserver
python3 -m RangeHTTPServer 8080
Thank you, I don't use python so I didn't even think about needing to update the python command.
Watch out! You never know when I'm around the corner.

User avatar
Sheriff_U3
Member
Posts: 38
Joined: Tue Aug 19, 2025 00:38
GitHub: Sheriff-Unit-3
IRC: Sheriff_U3
In-game: Sheriff_U3
Location: USA

Re: Simplistic Web Node Box Creator

by Sheriff_U3 » Post

Help with translations is requested over at https://translate.codeberg.org/engage/lnbc/ thank you in advance!
Watch out! You never know when I'm around the corner.

User avatar
Sheriff_U3
Member
Posts: 38
Joined: Tue Aug 19, 2025 00:38
GitHub: Sheriff-Unit-3
IRC: Sheriff_U3
In-game: Sheriff_U3
Location: USA

Re: Simplistic Web Node Box Creator

by Sheriff_U3 » Post

v1.1.1 Is now available!
It includes a bugfix by Linuxdirk and translation support backend. Help is need to translate strings though.

Known bugs:
  • Incorrect texture scaling, no fix as of yet.
  • Unable to switch back to English after selecting a different language. Current fix: Refresh the page.
  • No provided translations/missing translations. Current fix: Help translate them at translate.codeberg.org
Watch out! You never know when I'm around the corner.

User avatar
Linuxdirk
Member
Posts: 3405
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Simplistic Web Node Box Creator

by Linuxdirk » Post

That’s great! Just translated to German!

User avatar
Sheriff_U3
Member
Posts: 38
Joined: Tue Aug 19, 2025 00:38
GitHub: Sheriff-Unit-3
IRC: Sheriff_U3
In-game: Sheriff_U3
Location: USA

Re: Simplistic Web Node Box Creator

by Sheriff_U3 » Post

You are now able to use Luanti Node Box Creator at Codeberg Pages, no downloading or self hosting required. If you run into any issues, please report them over at nodebox-creator/issues.
Watch out! You never know when I'm around the corner.

User avatar
Blockhead
Moderator
Posts: 2963
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: Simplistic Web Node Box Creator

by Blockhead » Post

Hmm why is this clamped at size 16/16ths, when nodeboxes can be as much as 24/16ths and still work fine? Yes, I am going to driveby this issue now that there is an active developer :P
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

User avatar
Sheriff_U3
Member
Posts: 38
Joined: Tue Aug 19, 2025 00:38
GitHub: Sheriff-Unit-3
IRC: Sheriff_U3
In-game: Sheriff_U3
Location: USA

Re: Simplistic Web Node Box Creator

by Sheriff_U3 » Post

Blockhead wrote:
Thu Apr 09, 2026 06:11
Hmm why is this clamped at size 16/16ths, when nodeboxes can be as much as 24/16ths and still work fine? Yes, I am going to driveby this issue now that there is an active developer :P
It's a "feature" that I've not yet changed. Currently you can bypass it by importing or typing the number manually. It's on my list of things to do.
Watch out! You never know when I'm around the corner.

User avatar
Sheriff_U3
Member
Posts: 38
Joined: Tue Aug 19, 2025 00:38
GitHub: Sheriff-Unit-3
IRC: Sheriff_U3
In-game: Sheriff_U3
Location: USA

Re: Simplistic Web Node Box Creator

by Sheriff_U3 » Post

v1.1.2 - German Translation is now live!

Release notes:
There is now German translations available! Some other minor fixes included:

- You can now switch back to English from any other language.
- The nodebox max size has been increased to match Luanti's max.

Known bugs:

- Title, Position, and Scale not translating.

There is a Codeberg pages setup for those who want to use this online, there is no difference in feature set, except for no offline capability. :)
Blockhead wrote:
Thu Apr 09, 2026 06:11
Hmm why is this clamped at size 16/16ths, when nodeboxes can be as much as 24/16ths and still work fine? Yes, I am going to driveby this issue now that there is an active developer :P
Well this has been fixed with today's release, and before you mention it: negative numbers are now supported by the program as well. The max size is 45/16ths which will put it at Luanti's max when exported. I've not implemented any safeties though to prevent users from making too large of a nodebox. (I expect them to have read the docs and know what they are doing.)
Watch out! You never know when I'm around the corner.

User avatar
Sheriff_U3
Member
Posts: 38
Joined: Tue Aug 19, 2025 00:38
GitHub: Sheriff-Unit-3
IRC: Sheriff_U3
In-game: Sheriff_U3
Location: USA

Re: Simplistic Web Node Box Creator

by Sheriff_U3 » Post

I've got a forum topic started for my fork of this editor/creator, so I'll be posting updates there instead of here. (btw v1.1.3 has been released.)
Watch out! You never know when I'm around the corner.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests