Make devito faces bigger

This commit is contained in:
Dragon Fire
2021-03-06 15:50:23 -05:00
parent a4c671059b
commit ddc72c0b8d
+4 -4
View File
@@ -53,10 +53,10 @@ module.exports = class DannyDevitoCommand extends Command {
const height = danny.height * ratio;
ctx.drawImage(
danny,
landmarks.contour_left1.x,
landmarks.contour_left1.y - (height / 2),
width,
height
landmarks.contour_left1.x - (width * 0.75),
landmarks.contour_left1.y - (height / 2) - (height * 0.75),
width * 1.5,
height * 1.5
);
}
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'danny-devito.png' }] });