Code Monkey home page Code Monkey logo

dynamicpix's Introduction

DynamicPix

A nonogram puzzle dynamically assembled. You can draw pictures and play them!

Editor

Here you can create a drawing by choosing its width and height. You can use different colors. When finished, you can save the json file. Try online on CodePen.

alt text

Menu

alt text

  • Maximize: Increases the editor area
  • Minimize: Decreases the editor area
  • Undo: Undo the last modification
  • Redo: Redo the next modification
  • Export to Json: Exports the drawing to json format compatible with the game view
  • Grid Length: Specifies the size of the editor grid
  • Current Color: Selects the color to paint and stores the list of used colors
  • Background Color: Sets the background color of the drawing

Controls

Mouse Action
Left Click Paint square with the selected color
Left Pressing Paint the squares with the selected color while you hover over them
Left Release Stop painting squares

Game

Here you choose the json file created from the drawing and the nonogram will be generated ready to play. You can also load the ready samples that are in the samples folder. Try online on CodePen.

alt text

Controls

Mouse Action
Left Click Paint the square with the selected color
Left Pressing Paint the squares with the selected color while you hover over them
Left Release Stop painting squares
Right Click Mark the square to indicate that it should not be painted
Right Pressing Mark the squares while you hover over them
Right Release Stop marking squares
Middle Click Switch color to paint (or you can select directly from the palette)

Menu

alt text

  • Select a Json File: Select editor generated json to load the puzzle
  • Maximize: Increases the editor area
  • Minimize: Decreases the editor area
  • Undo: Undo the last modification
  • Redo: Redo the next modification
  • Check Puzzle: Checks for current errors in the puzzle
  • Restart Puzzle: Reset the puzzle to the beginning
  • Show Solution: Reveals the solution of the puzzle

dynamicpix's People

Contributors

kazlubr avatar

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.