You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the easy to follow guide to setting up electron app. Everything worked fine for me in this course except for the bug with the polygon drawing package
I could kinda draw squiggly lines after following the tutorial, but my doodling disappeared the moment I release my mouse. Also, my browser buffer size increase as if there were more elements added to it, which I think is what the code below was trying to do:
var viz = new image('#visualization',null,[src],{hullAlgorithm:'convex'});
Because there was a code that was supposed to delete the original image and re-render it, the new image was taking super long to render while the old image was not deleted either. And the drawing didn't seem to be at the right location.
Please kindly help explain what was going on.
My entire code was:
var picture=require('cat-picture');
var image=require("lightning-image-poly");
var src=picture.src;
picture.remove();
var viz = new image('#visualization',null,[src],{hullAlgorithm:'convex'});
Thank you
The text was updated successfully, but these errors were encountered:
I have the same problem!!
Although I type elementary electron verify then it appear success,
but I am not able to draw polygons on it .
why??
this is my entire code :
electron.app.on('ready', function () {
var mainWindow = new electron.BrowserWindow({width: 600, height: 800})
mainWindow.loadURL('file://' + __dirname + '/index.html')
})
#index.js
require('cat-picture')
var picture = require('cat-picture')
var src = picture.src
pirture.remove()
var image = require('lightning-image-poly')
var viz = new image('#visualization',null,[src],{hullAlgorithm:'convex'});
Hello friends, I have this problem with the command installation: npm install lightning-image-poly --save
It's wrong:
C:\Users\josez\Desktop\Elementary Electron>npm install lightning-image-poly --save
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\josez\AppData\Local\npm-cache_logs\2021-09-01T17_33_32_674Z-debug.log
Hi kind contributors
Thank you for the easy to follow guide to setting up electron app. Everything worked fine for me in this course except for the bug with the polygon drawing package
I could kinda draw squiggly lines after following the tutorial, but my doodling disappeared the moment I release my mouse. Also, my browser buffer size increase as if there were more elements added to it, which I think is what the code below was trying to do:
Because there was a code that was supposed to delete the original image and re-render it, the new image was taking super long to render while the old image was not deleted either. And the drawing didn't seem to be at the right location.
Please kindly help explain what was going on.
My entire code was:
Thank you
The text was updated successfully, but these errors were encountered: