spatialillusions / milsymbol-generator Goto Github PK
View Code? Open in Web Editor NEWMilitary symbol generator based on milsymbol.js
License: MIT License
Military symbol generator based on milsymbol.js
License: MIT License
Should work as the old symbol generator that there is a download button for the generated symbol.
I am a beginner developer.
How do I run this code in React?
At the moment I'm using my local development version of milsymbol, so others won't be able to build the code. This should first be updated to a checked in version of milsymbol-dev, and then to a released version of milsymbol.
Since Material design components has removed the custom select it is not possible to upgrade to newer versions of MDC.
Because of this it might be an idea to consider moving to vue or another framework.
Check out the vue select component here:
https://vuetifyjs.com/en/components/selects
This should return the current SIDC for the given panel.
Should work as the old symbol generator that all browsers except IE draws a canvas image instead of SVG
I love this tool, but often I have a SIDC "I made earlier" that I want to check / modify.
Would it be possible to make the SIDC display modifiable, e.g. enter "SFGPESE-----" directly to see what it means and change?
Sometime in the future, it should be possible to use parts of the unit generator via API, so that you can initiate your own symbol selector in an element on your webpage, I think this would be quite useful for many application developers.
This should make it possible to set the current panel to the provided SIDC
Will this be released anytime soon?
material-components/material-components-web#2399
They have now reverted to standard select element, so as soon as this is out we should update MDC and make needed changes.
Need to look into this, might also look into removing the autoinit.
Hello Mans,
In the milsymbol-generator, I see that for a giving Unit, I am able to navigate between the standards.
Do you perform or do you have some document that show how can I convert between the standards?
For example in your default inital unit you have 2525C sidc-> SFGPU-------, and if I am navigate to 2525D I will get the code 10031000000000000000 and for APP6(D) I will get 10031100000000000000.
How is this translation is being performed?
Thanks :)
The panels and different functionality should be broken into webcomponents for easy reuse.
Remember what standard the user has used before, and initiate that one first.
Add uglify or similar to minify the code when it is built, this will however require that we make sure the code is es2015 using babel or similar.
We should add Babel when we compile the code so that we make sure that material comes out as es2015
rollup-plugin-babel
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.