/** * 검정 블락 레이어를 범용적으로 생성/제거하는 유틸리티 클래스. * 특정 클래스에 종속되지 않으며 어떤 PIXI.Container에서도 사용 가능. * * @example * // 생성 * CNewMaskLayer.show(this.$main, { app: pixiApp, hole: tab.spine }); * * // 제거 * CNewMaskLayer.hide(this.$main); * * @class */const _state = new WeakMap();export default class CNewMaskLayer { /** * 검정 블락 레이어를 생성하고 특정 영역만 뚫어줌. * * @param {PIXI.Container} container - 레이어를 추가할..
OLLAMA_HOST=127.0.0.1:12345 ollama serve
react : v18.3.1pixi.js : v8.6.3import React from "react";import * as PIXI from "pixi.js";export default class PixiApp extends React.Component { constructor(props) { super(props); this.pixi_cnt = null; this.app = null; } async componentDidMount() { try { this.app = new PIXI.Application(); await this.app.init({ width: 600, ..
