Creates a pattern which gradually blends from one colour to another, for crochet, patchwork, knitting, pixel art, etc. A (simple!) command line program in ruby,

Tarry_Dan 38151e1543 added images of program in use 1 rok pred
README.MD d789bae301 reformatted credit section with bullets 1 rok pred
gradientmaker input.png 38151e1543 added images of program in use 1 rok pred
gradientmaker output.png 38151e1543 added images of program in use 1 rok pred
gradientmaker output2.png 38151e1543 added images of program in use 1 rok pred
gradientmaker v1.rb c150277e7b added program file 1 rok pred

README.MD

GRADIENT MAKER

This program makes a grid of squares, gradually changing from one colour to another. You can use this pattern for cross stitch, knitting, or any other craft. The pattern will be a .csv file, which you can open in Excel or any other spreadsheet program

  • For row and stitch numbers, just type a number ('40' not '40 rows' or 'forty')
  • For Output File, type a word and do not use any punctuation. The file will overwrite any other files with this name in the folder, so doublecheck before you run the program. The finished file will be saved in the same folder as the gradientmaker.rb program

When the file has been created, open it in a spreadsheet program and save it in a different format (.xls, .ods etc) to add conditional formatting (which will automatically adds the two different colour backgrounds to the cells) change the column and row heights to look square, and add any more details. If it doesn't look quite right, then run the program again with new numbers.

HOW TO USE

  1. Install ruby
  2. Download the program gradientmaker v1.rb
  3. Open the folder where you have downloaded the program
  4. Shift+Right Click, and choose 'Open command window here'
  5. Type exactly:

ruby "gradientmaker v1.rb"

and press Enter

  1. Follow the instructions on screen

CREDIT

This program uses the following ruby gems:

  • tty-prompt
  • tty-screen
  • pastel
  • tty-cursor
  • tty-font