Skip to content

This project is an image editor currently in 16*16 format, recommended for Minecraft block and item textures. It runs on the Numworks calculator and on the computer.

Notifications You must be signed in to change notification settings

Archange-py/Viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pictures Viewer

block

This project is an image editor currently in 16*16 format, recommended for Minecraft block and item textures. It runs on the Numworks calculator and on the computer, as long as the required dependencies are installed (follow instructions in the Visuel repository). It is used by installing viewer.py and examples_pictures.py alone on the calculator. To get the most out of it, follow the mini-tutorial in the Tuto section.

You can install it directly on your calculator, by going to my script and to examples pictures on the Numworks website.

Table of Contents


  1. Tuto
  2. Keys Short
  3. Settings
  4. Examples

Tuto


I. First of all, to create a new image, go to "edit".

edit

If you've previously changed the default color, and your image doesn't have this color and remains white, press the "dot" key.

II. Then, use the shortcuts presented here to create your image, and then press "ans" to print the list containing the rgb values of your image in the console.

tuto_picture

III. Then, copy and paste your code into the example file included with this project, by creating a new variable.

IIII. Finally, restart the viewer and observe your pre-loaded artwork by going to the "show" section !

tuto_picture

Keys Short


Here are all the keys you can use in the "Edit" section:

Keys Short
Ok and Left Arrow Changes rgb channel counter-clockwise
Ok and Right Arrow Changes rgb channel clockwise
Up Arrow Moves cursor up
Down Arrow Moves cursor Down
Left Arrow Moves cursor Left
Right Arrow Moves cursor Right
Plus Increases the value of the pixel on which the cursor is located to the level of the selected rgb channel.
Minus Decreases the value of the pixel on which the cursor is located to the level of the selected rgb channel.
Ans Save the image for later viewing in "show", and print the image list line by line in the console.
Dot Resets the image being edited to the default color.
Exp Eraser - Erases the cursor box and replaces it with the default color.
Backspace Exits "edit" mode while saving image modifications.

Warning ! Key ANS is key "O", key DOT is key ":" and key EXP is key "5" on computer

Settings


This section presents the various possible parameters:

  1. Pas: To increase the depth that is removed when you modify the value of a pixel's channel.

  2. Size: NotImplemented

  3. Time: To accelerate or decelerate the cursor speed.

  4. To change the default color when a new image is created.

Ignore the size parameter, as it is there for a future implementation.

Examples


Menu
Edit
Show Show
Settings

About

This project is an image editor currently in 16*16 format, recommended for Minecraft block and item textures. It runs on the Numworks calculator and on the computer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages