Skip to content

hayabuzo/myPixels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myPixels (p5.js)

Measurement of image compositional balance.

image

This program sums the pixels of an image and calculates the median values for lightness, detail, saturation. Depending on the distribution of these values in the image, the program suggests cropping options to balance the composition.

🚀 Run at GitHub

🏓 Run at OpenProcessing

Settings

Lightness calculation mode — different options for calculating lightness, which will lead to different total balance values of light spots and image details.

Balance / Histogram / Crop — turn on/off visualisation for each value on the preview.

Resolution — the higher the resolution of the calculations, the more accurate the result, and the longer the processing.

Preview Mode — the channel that will be displayed in the preview window.

Value - Amount - Balance — amount of value (% of a completely white image) and balance relative to the geometric middle of the image ("+" is deviation to the right, "-" is to the left, % of image width).

Processing — options for crop according to the values and for saving.