MCPcopy Create free account
hub / github.com/JKPotato-Computer/SignMaker

github.com/JKPotato-Computer/SignMaker @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
142 symbols 349 edges 12 files ⚖ GPL-3.0 15 documented · 11% ● updated 3d agomisc · 2024-03-20★ 37

Browse by type

⨍ Functions 128◇ Types & classes 14
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SignMaker Preview Thumbnail

Highway SignMaker

Version: 2.2.0.1

SignMaker is a JavaScript-based web application designed to render realistic highway guide signage for all states in the United States, neighboring countries, and any MUTCD-adjacent countries. Try out the website LIVE at https://jkpotato.computer/SignMaker!

History

First envisioned by Kurumi in creating SignMaker v2.3.1, SignMaker started off as a Java Applet (back when it was supported within web browsers!) and was quite revolutionary for its era, winning Yahoo's "Pick of the Week" in April 1998.source In late 2019, BrenStro would create the first port of SignMaker, aiming to recreate most of Kurumi's features in a modern web browser context. This would be further expanded by dki-os with the addition of Quebec Exit Tabs, Action/Advisory Messages, and a couple extra shields.

This version of SignMaker aims to continue modernizing Highway Sign Maker with additional graphic features that align to the current version of the Manual on Uniform Traffic Control Devices (MUTCD) while keeping it (relatively) simple to use as possible. Default values and configurations for signs were decided based off best-guess estimates found from the Standard Highway Signs publication, but at least you change it to your own desires.

Note: There is no tutorial for SignMaker (except the Diagrammatic Editor). The best way to discover how this site works is not by me telling you what to try out, but rather throwing yourself in the wild and seeing how to use SignMaker. I mean, that's how you learn how to use OpenRoads SignCAD or other CAD software, right?

Features

These are all the main features of SignMaker v2.2, but this isn't an exhaustive list. Like I said, the best way to learn how to use SignMaker is to just throw yourself in and see what you can do with it. Without further ado...

Block Element System

1. Block Element System

SignMaker features a dedicated block-based editor system compared to being limited to a single Control Text and/or Action Message, allowing you to create virtually any sign combination imaginable. There are over 11 different elements to choose from, all with their own unique settings and configurations. Some notable ones include:

Block Element Description
Control Text Element The main text of the sign, primarily to list destinations (it's the most basic out of all the text-based elements)
Action Message Element The supplemental text of the sign, primarily to list upcoming mileage-based exits (ex: EXIT 1/2 MILE)
Advisory Message Element The supplemental text of the sign, now with a background! (ex: EXIT 35 MPH)
Electronic Sign Element The supplemental text of the sign in a "digitized-like" format, typically used with variable/changing messages (ex: express lanes)
Icon A graphic element, with additional support of custom icons (ex: airplane)
Shield Group A group of shields with support of banners and custom shields (ex: US 90 ALT)

and more...

Collection of Items

Block rows themselves can also be edited, allowing you to change the background color, posiitoning, and the "spacing" from other elements.

Block Properties System

Shield Editor System

2. Shield Editor System

Gone with the inline shield & banner editor system of the Kurumi/dki-os era (though it was very intuitive, so I'll give them that), SignMaker v2.2 features a dedicated shield editor system that allows you to create and edit shields in a more intuitive way. You can also add as many banners as you want, in all directions, and even customize the built-in shields and create entirely custom ones.

TIP: Want NORTH / NORD signage like the ones in Ontario? Type in NORTH/nNORD in the banner text field!

Shield Editor Image

(Custom Shields) Shield Editor Image

Guide Arrows & Every Other Arrow

3. Guide Arrows / APL / Diagrammatic

A feature that EVERYONE has been anticipating for has finally come, this time with THREE different variants.

Guide Arrows

The guide arrows system has been refreshed completely with countless more customizable features (while still remaining relatively simple to use). You can now have different guide arrows on a single sign rather than just one of some type, additional exit only border variants, and the ability to add an additional action message / Quebec exit tabs (which was from dki-os, but now fixed to work with this SignMaker version!)

Guide Arrow Quebec Example

Arrow Per Lane (APL)

The arrow per lane (APL) system has finally been released, allowing you to draw an arrow... per lane. Pretty self explanatory, works well with subpanels.

TIP: Use Lane Size to make signs somewhat "realistic" in size based off how many arrows were "assigned" to that region.

APL Example

Diagrammatic Signage

Diagrammatic signage, something once thought to be impossible, is officially in SignMaker v2.2 with a relatively easy interface to work with. It'll be a learning curve, but once you figure it out, it is quite intuitive.

Diagrammatic Example

Exit Tab System

4. Exit Tabs

The exit tab system has been completely reworked this update (from the backend to the frontend) with SIX standardized variants to play with! Maybe the image will speak for itself... this picture does speak 42 words after all. Did you know that you can put shields on exit tabs now?

Exit Tab Variants

Sign Library

5. Sign Library

No longer do you have to restart everything when your page refreshes or you are done with the project. With the new Sign Library system, your signs now auto-save across sessions and can be reloaded at any time. Additionally, you can have multiple "save files" of all the signs that you have made and load them in at any time.

There's also a few templates, more will be made soon. For nostalgic purposes, here's the header page of the "Del Water Gap" sign on the dki-os/SignMaker README, which is now a template in SignMaker v2.2. Sign Library Image 1

Importing & Exporting

6. Importing & Exporting

Last but not least, what's SignMaker without being able to export your signs? You can now export high-quality signs in PNG and SVG format. Additionally, you can share your signs in .SIGNMAKER (defiintely not .JSON) format with your friends, and they can share you signs to import into SignMaker v2.2! Talk about going full circle.

Only compatible with SignMaker v2.2 signs.

Export Menu

Setup

SignMaker v2.2 can run entirely locally - there is NO webserver needed for SignMaker to function. (github-like instructions here)

1. Clone the repository from GitHub

git clone https://github.com/JKPotato-Computer/SignMaker
cd SignMaker

2. Run the project

Option A: Open the index.html file in your web browser. (This will not support exporting images.)

Option B: If you have Node.js installed, you can start a local web server for SignMaker. This program uses Vite to start the development server; however, Python (py -m http.server) also sufficies. Run the following commands in the project directory: (npm install, create a vite.config.js file too with vite terminal)

npm install
# Ensure that you have vite.config.js installed and configured + node modules, then:
npx vite

SignMaker Pull Request Policy

(As follows in the Discord Server): Earlier variants of SignMaker were built WITHOUT the use of AI, and we will continue to honor these directions in the creation of the Official SignMaker project as best as possible. The Official SignMaker has not been mass-generated or piloted with the use of AI, and all code implementations/features have been meticulously designed by a human person.

  • AUTHENTICITY: All submitted pull requests must NOT be entirely AI-generated / "vibecoded". While this ruling is entirely subjective, the baseline is: your code may be AI-assisted and written with the help of AI; however, AI should not have taken full lead of your code submission. A project maintainer should be able to read your code without any complications given a reasonable amount of time.
  • LENGTH: Pull requests should generally focus on 1-3 features and not attempt to restructure entire codebases to implement features. IF the latter case is proven to be necessary, your code will REALLY be reviewed in detail before any approval is made.
  • DESCRIPTION: ALL changes MUST be highlighted directly on the pull request on GitHub, NOT in a Discord message unless given permission to do so. Both would be preferable, but the former is required.

Enforcement Policy: If your PR does not follow these guidelines, it will NOT be accepted.

Contributors

Thank you to the following contributors for helping out with the developemnt of SignMaker v2.2:

  • @vivribbon: Redoing pretty much every single shield in shield.css, Double-Stroke Borders, NVUTCDG Guidelines :P
  • @theobsidianguy: Fixing the APL system, inverting arrow colors, and general UI/UX
  • @cjc30: Australian shields

And a massive thank you to the past maintainers @dki_os and @BrenStro for even creating Highway Sign Maker in the first place. Hope this version of SignMaker can live up to your expectations and continue to improve upon your work, and maybe a little bit of nostalgia.

Third-Party Sources

Font Faces

Images

  • All SignMaker v2.2 assets were hand-made by @JKPotato-Computer.
  • All UI icons were sourced from Google's Material Symbols and are licensed under the SIL Open Font License 1.1.
  • Other assets (icons, shields, etc.) were sourced from the MUTCD and other state DOTs.
  • Some sign SVG assets were obtained from Wikimedia Commons, with designs originating from the MUTCD.

Modules

SignMaker Usage Disclaimer

DO NOT USE SIGNMAKER FOR ACTUAL SIGN-MAKING PURPOSES. SignMaker is a tool for hobbyists and roadgeeks obsessed with the Interstate Highway System and does not comply with real-world measurements, MUTCD standards, and general regulations. SignMaker is not a replacement for professional CAD software and should not be used for any real-world sign-making purposes. Besides, if this statement applies to you, you're probably a State Transportation department, you definitely have enough money to afford CAD software. (Maybe from all the toll-revenue you've been collecting, talking to YOU Texas.)

Signs made with the FHWA font face, Overpass, Electronic Highway Sign, VCR Mono (I think?), and/or LLM is under public domain and can be displayed on sites or used for commercial purposes. Signs made with the Transport or Clearview font technically are only allowed for personal use, but I can't really tell you what you can and can't do with them. So, I will prete

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 102
Method 26
Class 14

Languages

TypeScript100%

Modules by API surface

js/main.js42 symbols
js/HtmlToImage.js31 symbols
js/main copy.js27 symbols
js/Sign.js11 symbols
js/Post.js8 symbols
js/Panel.js6 symbols
js/ExitTab.js6 symbols
js/SubPanels.js3 symbols
js/Shield.js3 symbols
js/Arrows.js3 symbols
js/lib.js2 symbols

For agents

$ claude mcp add SignMaker \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page