mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 05:51:35 +02:00
Keep going
This commit is contained in:
@@ -38,7 +38,7 @@ module.exports = class SimbaCommand extends Command {
|
|||||||
const generate = () => {
|
const generate = () => {
|
||||||
ctx.drawImage(base, 0, 0);
|
ctx.drawImage(base, 0, 0);
|
||||||
ctx.rotate(-24 * Math.PI / 180);
|
ctx.rotate(-24 * Math.PI / 180);
|
||||||
ctx.drawImage(avatar, 80, 125, 130, 150);
|
ctx.drawImage(avatar, 80, 150, 130, 150);
|
||||||
ctx.rotate(24 * Math.PI / 180);
|
ctx.rotate(24 * Math.PI / 180);
|
||||||
};
|
};
|
||||||
base.src = await fs.readFileAsync(path.join(__dirname, '..', '..', 'assets', 'images', 'simba.png'));
|
base.src = await fs.readFileAsync(path.join(__dirname, '..', '..', 'assets', 'images', 'simba.png'));
|
||||||
|
|||||||
Reference in New Issue
Block a user