Skip to content

Instantly share code, notes, and snippets.

View rostfirsikov's full-sized avatar

Rost Firsikov rostfirsikov

View GitHub Profile
@vladocar
vladocar / DrawShape.js
Created October 23, 2011 22:33
Draw Shape in Photoshop with JavaScript
/* Code by Mike Hale http://www.ps-scripts.com/bb/viewtopic.php?f=14&t=1802&start=15
with small modification by Vladimir Carrer
*/
function DrawShape() {
var doc = app.activeDocument;
var y = arguments.length;
var i = 0;
@michaelprovenzano
michaelprovenzano / DrawShape.js
Last active August 22, 2023 12:36 — forked from vladocar/DrawShape.js
Draw Shape in Photoshop with JavaScript
/* Code by Mike Hale http://www.ps-scripts.com/bb/viewtopic.php?f=14&t=1802&start=15
with small modification by Vladimir Carrer
Modified by Michael Provenzano
================================================================
BASIC USAGE
================================================================
Pass in an array of points to draw a shape.