resolution

MJS / AC Piece API / graphics / done
resolution(width, height = width, gap = 8)

Adjust display resolution and optional gap/pixel spacing.

Parameters

Name Type Required Description
width number yes Target render width.
height number no Target render height (defaults to width).
gap number no Display gap spacing between pixels.

Returns

void

Runtime Notes

No additional runtime notes yet.

Details

No additional details yet.

Live Preview

Embedded AC preview