brubsby / cozyvec Goto Github PK
View Code? Open in Web Editor NEWCozy Plotter Art Terminal
License: MIT License
Cozy Plotter Art Terminal
License: MIT License
Hey I'm getting an error with the browser version, have tried in Chrome and Firefox,
The code renders but then export fails with
"TypeError: point[0] is undefined plotarea.js:174:20"
I imagine it's in error in my a() function for making a circle or just too much data for the browser?
Find the code below to test:
a=(h,k,r)=>{
m2(x,y+r)
for(var t=0; t< TAU; t+=TAU/180)
{ var x = h + rcos(t);
var y = k - rsin(t);
l2(x,y);
}
clsp();
}
var x=50;var y=50;
for(var i =0;i<10;i++){
var r=rnd(50);var r2=rnd(10);
for(var j =r2;j>0;j--){
a(x,y,r-j);
}
x = x+12; y = y+12;
}
Running MacOS Catalina v 10.15.3
Crashlog:
Process: cozyvec [17372]
Path: /private/var/folders/*/cozyvec.app/Contents/MacOS/cozyvec
Identifier: com.electron.cozyvec
Version: 0.1.0 (0.1.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: cozyvec [17372]
User ID: 501
Date/Time: 2020-02-22 11:33:16.756 -0800
OS Version: Mac OS X 10.15.3 (19D76)
Report Version: 12
Bridge OS Version: 3.0 (14Y908)
Anonymous UUID: 74114A39-CCAA-D784-626B-62F91F8B3EE3
Sleep/Wake UUID: F77A83D6-879D-47DF-8C9B-2F923D780286
Time Awake Since Boot: 73000 seconds
Time Since Wake: 2500 seconds
System Integrity Protection: enabled
Notes: Translocated Process
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/Electron Framework.framework/Electron Framework
Referenced from: /private/var/folders/*/cozyvec.app/Contents/MacOS/cozyvec
Reason: no suitable image found. Did find:
/private/var/folders/2b/j_sh_p8j1hl7c4rjf390_qmh0000gn/T/AppTranslocation/8A2F2518-B1BA-40F7-AB10-BB4F8003B7BC/d/cozyvec.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
/private/var/folders/2b/j_sh_p8j1hl7c4rjf390_qmh0000gn/T/AppTranslocation/8A2F2518-B1BA-40F7-AB10-BB4F8003B7BC/d/cozyvec.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: stat() failed with errno=1
Binary Images:
0x10f4ed000 - 0x10f515fff +com.electron.cozyvec (0.1.0 - 0.1.0) /var/folders/*/cozyvec.app/Contents/MacOS/cozyvec
0x10fdb1000 - 0x10fe41cb7 dyld (733.8) /usr/lib/dyld
0x7fff3ea5d000 - 0x7fff3eb14ff5 com.apple.MediaPlayer (1.0 - 1.0) /System/Library/Frameworks/MediaPlayer.framework/Versions/A/MediaPlayer
Model: MacBookPro13,3, BootROM 264.0.0.0.0, 4 processors, Quad-Core Intel Core i7, 2.9 GHz, 16 GB, SMC 2.38f8
Graphics: kHW_IntelHDGraphics530Item, Intel HD Graphics 530, spdisplays_builtin
Graphics: kHW_AMDRadeonPro460Item, AMD Radeon Pro 460, spdisplays_pcie_device, 4 GB
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x15A), Broadcom BCM43xx 1.0 (7.77.106.3 AirPortDriverBrcmNIC-1440.1)
Bluetooth: Version 7.0.3f5, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
USB Device: Hub
USB Device: EiBotBoard,
USB Device: USB Controls
USB Device: Apple T1 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.2
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.