mirror of
https://github.com/status-im/artproject.git
synced 2025-02-22 12:48:09 +00:00
Uncomment canvas code
This commit is contained in:
parent
18ffcccbd0
commit
081a7c7a9c
@ -1,24 +1,25 @@
|
||||
// class Canvas {
|
||||
// constructor() {
|
||||
// this.connect = new CABLES.Patch({
|
||||
// patchFile: 'assets/connect.json',
|
||||
// prefixAssetPath: '',
|
||||
// glCanvasId: 'connect',
|
||||
// glCanvasResizeToWindow: true,
|
||||
// silent: true
|
||||
// });
|
||||
/* eslint-disable */
|
||||
class Canvas {
|
||||
constructor() {
|
||||
this.connect = new CABLES.Patch({
|
||||
patchFile: 'assets/connect.json',
|
||||
prefixAssetPath: '',
|
||||
glCanvasId: 'connect',
|
||||
glCanvasResizeToWindow: true,
|
||||
silent: true
|
||||
});
|
||||
|
||||
// CABLES.EMBED.addPatch(
|
||||
// 'klein',
|
||||
// {
|
||||
// patchFile: 'assets/klein.json',
|
||||
// prefixAssetPath: '',
|
||||
// silent: true
|
||||
// }
|
||||
// )
|
||||
// }
|
||||
// }
|
||||
CABLES.EMBED.addPatch(
|
||||
'klein',
|
||||
{
|
||||
patchFile: 'assets/klein.json',
|
||||
prefixAssetPath: '',
|
||||
silent: true
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
// export default function init() {
|
||||
// new Canvas();
|
||||
// };
|
||||
export default function init() {
|
||||
new Canvas();
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user