Giter Site home page Giter Site logo

shapez.io-viewer's Introduction

shapez.io-viewer

Allow to generate and view any shapez.io shape

shapez.io-viewer's People

Contributors

cosmiccandi avatar d-side avatar dengr1065 avatar dependabot[bot] avatar frankfarmer avatar ger0ld avatar sirgavith avatar tobspr avatar tpummer avatar tristonstuart avatar tuxhedoh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

shapez.io-viewer's Issues

Copy button

It would be nice to have Copy button next to code field.

I can Create an Empty Layer

"-UNSC" Is an acceptable Quadrant Doing The Same Thing As "--" But Will Let You Make an Empty Layer.
"--------" will result in an "Empty layers are not allowed" error but "-------UNSC" Is Valid And Will Make An Empty Layer

[Suggestion] Turning the canvas into an SVG

I've been toying with the idea of rendering the shape output as SVG rather than a canvas element. This would make it so that each quadrant of each layer is actually in the DOM. It gives us a lot more flexibility to make this tool better in the future. We'd be able to add event listeners onto the quadrants. For example, left click on a quadrant to toggle its shape and right click on the quadrant to toggle its color. Then you could build shapes right on the canvas without having to type out the object code.

I'm happy to do the work on this, but I don't want to do it if there's no chance of it being merged.

Shape constructor

It would be great to have ability to construct shapes not only by printing their codes but by convenient controls set.

This set should support:

  • up to 4 layers
  • empty quadrants
  • error tolerance - ability to go back one or more steps

I don't know if it's possible to change the current version of the shape generator to implement this request, or if we should make another page/block.

Any ideas?

Add indicator for "factory" or "node"

If I have a factory producing an uncolored shape, there's not a clear way to distinguish a label between "this is my factory" or "this is a resource node". One option you might consider is to give different options for icons that appear to the left of the marked list.

00|CuCuCuCu would give the regular map pin icon to the left of the marker.
10|CuCuCuCu would show a factory icon to the left.
20|CuCuCuCu could show a miner icon to the left.
30|CuCuCuCu could show a paint palette that might let me show this is just a factory that produces this specific color.
etc.

The reason I leave space in between is that maybe later 10 shows an icon of a small factory and 11 shows an icon of a large factory. It can give me an idea of my yield from that factory.

Title and About section offscreen

For any screen width over 1000, the about section and the title appear offscreen.

This appears to be due to the CSS html, body {} styling of height: 100%;. I looked at the code and removing index.css line 9 seemed to fix it (it also still looked fine on mobile that way).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.