VSCodeでProcessingした時の外部ライブラリの追加とJavaクラッシュ対応のオマケ

ProcessingJava,Processing,VM,VSCode,クラッシュ,ライブラリ

先日ProcessingをVSCodeで動かしてみましたが、さて外部ライブラリを使うにはどうしたらいいのかと思い立ち。

Processing標準のIDEにはなんかライブラリマネージャみたいなのが付いてくるんですが、VSCodeの拡張機能「Processing Language」には無いみたい。

手動で落として来てソースのフォルダに置くのとか面倒だなぁと思っておりましたが、

なんとなく

ProcessingのIDEで落として来れば勝手にパス通るんじゃね?的な

というわけでやってみますた。

ら、なんかProcessingが起動しない。

ProcessingのディレクトリにはJavaクラッシュのログファイルが量産されていく

Processingが起動しない対応(Java)

processing_addlib03

中身はこんな感じ。

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffbeefcaf3f, pid=31404, tid=0x0000000000007fe8
#
# JRE version: Java(TM) SE Runtime Environment (8.0_202-b08) (build 1.8.0_202-b08)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.202-b08 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [atig6txx.dll+0x1af3f]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x0000000015658000):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=32744, stack(0x0000000016690000,0x0000000016790000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000000

Registers:
RAX=0x0000000001001403, RBX=0x0000000000000000, RCX=0x0000000000000000, RDX=0x000000001678c4e0
RSP=0x000000001678c460, RBP=0x000000001678c510, RSI=0x000000001678c570, RDI=0x0000000000000000
R8 =0x0000000000001000, R9 =0x0000000000000000, R10=0x0000000000000040, R11=0x000000001678c520
R12=0x0000000000000000, R13=0x000000001f012a3d, R14=0x000000001678c4e0, R15=0x00000000000000ef
RIP=0x00007ffbeefcaf3f, EFLAGS=0x0000000000010287

Top of Stack: (sp=0x000000001678c460)
0x000000001678c460:   00000000009b0000 0000000000000000
0x000000001678c470:   0000000000000018 0000000000000000
0x000000001678c480:   00000000000000ef 0000000000f4c860
0x000000001678c490:   000000001f012a3d 0000000000000000
0x000000001678c4a0:   000000001678c550 0000000000f4c860
0x000000001678c4b0:   0000000000000000 00007ffbeefc36af
0x000000001678c4c0:   0000000000000000 000000001678c510
0x000000001678c4d0:   0000000000000000 0000000000000000
0x000000001678c4e0:   000000001c2decc0 0000000000000000
0x000000001678c4f0:   000000001678c570 0000000100000108
0x000000001678c500:   0000000000000000 0000000000000000
0x000000001678c510:   000000001678c8b0 0000000000000000
0x000000001678c520:   000000001678c630 00007ffbeefc1b41
0x000000001678c530:   0000000000000000 0000000080012480
0x000000001678c540:   0000000080012440 0000000080012480
0x000000001678c550:   8001248080012440 0000000100000000 

Instructions: (pc=0x00007ffbeefcaf3f)
0x00007ffbeefcaf1f:   00 00 eb 28 3d 03 20 00 01 0f 85 30 01 00 00 48
0x00007ffbeefcaf2f:   8b 4f 10 48 8b 01 ff 50 58 85 c0 74 66 49 8b d6
0x00007ffbeefcaf3f:   48 8b 07 48 8b cf ff 90 90 00 00 00 85 c0 0f 85
0x00007ffbeefcaf4f:   73 02 00 00 8b 4e 54 81 f9 03 05 00 01 0f 85 55 


Register to memory mapping:

RAX=0x0000000001001403 is an unknown value
RBX=0x0000000000000000 is an unknown value
RCX=0x0000000000000000 is an unknown value
RDX=0x000000001678c4e0 is pointing into the stack for thread: 0x0000000015658000
RSP=0x000000001678c460 is pointing into the stack for thread: 0x0000000015658000
RBP=0x000000001678c510 is pointing into the stack for thread: 0x0000000015658000
RSI=0x000000001678c570 is pointing into the stack for thread: 0x0000000015658000
RDI=0x0000000000000000 is an unknown value
R8 =0x0000000000001000 is an unknown value
R9 =0x0000000000000000 is an unknown value
R10=0x0000000000000040 is an unknown value
R11=0x000000001678c520 is pointing into the stack for thread: 0x0000000015658000
R12=0x0000000000000000 is an unknown value
R13=0x000000001f012a3d is an unknown value
R14=0x000000001678c4e0 is pointing into the stack for thread: 0x0000000015658000
R15=0x00000000000000ef is an unknown value


Stack: [0x0000000016690000,0x0000000016790000],  sp=0x000000001678c460,  free space=1009k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [atig6txx.dll+0x1af3f]
C  [atig6txx.dll+0x136af]
C  [atig6txx.dll+0x11b41]
C  [atig6txx.dll+0xad0c]
C  [atio6axx.dll+0x8a4b0b]
C  [atio6axx.dll+0x88579f]
C  [atio6axx.dll+0x17702a2]
C  [atio6axx.dll+0x1725f56]
C  [atio6axx.dll+0x9a3780]
C  [atio6axx.dll+0x15a2eb8]
C  [atio6axx.dll+0x15a3150]
C  [atio6axx.dll+0x15a2962]
C  [atio6axx.dll+0x8478c3]
C  [atio6axx.dll+0x849ad9]
C  [atig6pxx.dll+0xbd8a]
C  [opengl32.dll+0x44fa6]
C  [gdi32full.dll+0x75a0c]
C  [awt.dll+0xd1b04]
C  0x0000000003068c67

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.awt.Win32GraphicsDevice.getMaxConfigsImpl(I)I+0
j  sun.awt.Win32GraphicsDevice.getMaxConfigs(I)I+10
j  sun.awt.Win32GraphicsDevice.getConfigurations()[Ljava/awt/GraphicsConfiguration;+69
j  processing.app.ui.EditorState.checkConfig()Ljava/awt/GraphicsConfiguration;+36
j  processing.app.ui.Editor.<init>(Lprocessing/app/Base;Ljava/lang/String;Lprocessing/app/ui/EditorState;Lprocessing/app/Mode;)V+4
j  processing.mode.java.JavaEditor.<init>(Lprocessing/app/Base;Ljava/lang/String;Lprocessing/app/ui/EditorState;Lprocessing/app/Mode;)V+6
j  processing.mode.java.JavaMode.createEditor(Lprocessing/app/Base;Ljava/lang/String;Lprocessing/app/ui/EditorState;)Lprocessing/app/ui/Editor;+8
j  processing.app.Base.handleOpen(Ljava/lang/String;ZLprocessing/app/ui/EditorState;)Lprocessing/app/ui/Editor;+215
j  processing.app.Base.handleOpen(Ljava/lang/String;Z)Lprocessing/app/ui/Editor;+14
j  processing.app.Base.handleNew()V+290
j  processing.app.Base.<init>([Ljava/lang/String;)V+405
j  processing.app.Base.createAndShowGUI([Ljava/lang/String;)V+190
j  processing.app.Base.access$0([Ljava/lang/String;)V+1
j  processing.app.Base$1.run()V+4
j  java.awt.event.InvocationEvent.dispatch()V+47
j  java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+21
j  java.awt.EventQueue.access$500(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j  java.awt.EventQueue$3.run()Ljava/lang/Void;+32
j  java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v  ~StubRoutines::call_stub
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j  java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
j  java.awt.EventDispatchThread.pumpOneEventForFilters(I)V+140
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x000000001afea000 JavaThread "SwingWorker-pool-1-thread-1" daemon [_thread_blocked, id=19508, stack(0x0000000019980000,0x0000000019a80000)]
  0x0000000015eb6800 JavaThread "TimerQueue" daemon [_thread_blocked, id=30452, stack(0x0000000018160000,0x0000000018260000)]
  0x0000000016a0e000 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=30120, stack(0x0000000017e60000,0x0000000017f60000)]
  0x0000000016e6b000 JavaThread "Image Fetcher 2" daemon [_thread_blocked, id=23648, stack(0x0000000017d60000,0x0000000017e60000)]
  0x0000000016bf4800 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=33948, stack(0x0000000017a60000,0x0000000017b60000)]
  0x0000000016ab4800 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=34656, stack(0x0000000017960000,0x0000000017a60000)]
  0x0000000002aae800 JavaThread "DestroyJavaVM" [_thread_blocked, id=28752, stack(0x0000000002e50000,0x0000000002f50000)]
=>0x0000000015658000 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=32744, stack(0x0000000016690000,0x0000000016790000)]
  0x0000000015653000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=32904, stack(0x0000000016460000,0x0000000016560000)]
  0x000000001563e000 JavaThread "AWT-Shutdown" [_thread_blocked, id=30456, stack(0x0000000016360000,0x0000000016460000)]
  0x000000001562b800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=28860, stack(0x0000000016260000,0x0000000016360000)]
  0x000000001530f800 JavaThread "Service Thread" daemon [_thread_blocked, id=26392, stack(0x0000000015780000,0x0000000015880000)]
  0x0000000015280800 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=6292, stack(0x0000000015680000,0x0000000015780000)]
  0x0000000013aeb800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=29044, stack(0x0000000015180000,0x0000000015280000)]
  0x0000000013ae4800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=1724, stack(0x0000000015080000,0x0000000015180000)]
  0x0000000013ae3800 JavaThread "Attach Listener" daemon [_thread_blocked, id=34772, stack(0x0000000014f80000,0x0000000015080000)]
  0x0000000013aa0800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=34796, stack(0x0000000014e80000,0x0000000014f80000)]
  0x000000000304c800 JavaThread "Finalizer" daemon [_thread_blocked, id=17972, stack(0x0000000014ce0000,0x0000000014de0000)]
  0x0000000003041800 JavaThread "Reference Handler" daemon [_thread_blocked, id=32540, stack(0x0000000014be0000,0x0000000014ce0000)]

Other Threads:
  0x0000000013a57800 VMThread [stack: 0x0000000014ae0000,0x0000000014be0000] [id=31992]
  0x000000001532c000 WatcherThread [stack: 0x0000000015880000,0x0000000015980000] [id=10972]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

heap address: 0x00000000f0000000, size: 256 MB, Compressed Oops mode: 32-bit
Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
Compressed class space size: 1073741824 Address: 0x0000000100000000

Heap:
 PSYoungGen      total 54272K, used 52043K [0x00000000fab00000, 0x0000000100000000, 0x0000000100000000)
  eden space 50176K, 95% used [0x00000000fab00000,0x00000000fda02cf0,0x00000000fdc00000)
  from space 4096K, 95% used [0x00000000fdc00000,0x00000000fdfd0000,0x00000000fe000000)
  to   space 18944K, 0% used [0x00000000fed80000,0x00000000fed80000,0x0000000100000000)
 ParOldGen       total 175104K, used 40375K [0x00000000f0000000, 0x00000000fab00000, 0x00000000fab00000)
  object space 175104K, 23% used [0x00000000f0000000,0x00000000f276df00,0x00000000fab00000)
 Metaspace       used 19001K, capacity 19378K, committed 19456K, reserved 1067008K
  class space    used 2153K, capacity 2282K, committed 2304K, reserved 1048576K

Card table byte_map: [0x0000000002a10000,0x0000000002aa0000] byte_map_base: 0x0000000002290000

Marking Bits: (ParMarkBitMap*) 0x00000000566f5ce0
 Begin Bits: [0x0000000012870000, 0x0000000012c70000)
 End Bits:   [0x0000000012c70000, 0x0000000013070000)

Polling page: 0x0000000000e20000

CodeCache: size=245760Kb used=12891Kb max_used=12903Kb free=232868Kb
 bounds [0x0000000003050000, 0x0000000003d00000, 0x0000000012050000]
 total_blobs=4035 nmethods=3473 adapters=474
 compilation: enabled

Compilation events (10 events):
Event: 5.183 Thread 0x0000000015280800 nmethod 3551 0x0000000003166b90 code [0x0000000003166d20, 0x00000000031671c8]
Event: 5.183 Thread 0x0000000013ae4800 nmethod 3553 0x0000000003254d10 code [0x0000000003254e40, 0x0000000003254eb8]
Event: 5.183 Thread 0x0000000015280800 3552       3       com.sun.jna.PointerType::toNative (5 bytes)
Event: 5.183 Thread 0x0000000015280800 nmethod 3552 0x0000000003166710 code [0x0000000003166860, 0x0000000003166a50]
Event: 5.191 Thread 0x0000000013aeb800 3554 %     4       sun.nio.cs.UTF_8$Encoder::encode @ 20 (359 bytes)
Event: 5.191 Thread 0x0000000015280800 3555       3       java.lang.Thread::interrupted (8 bytes)
Event: 5.191 Thread 0x0000000015280800 nmethod 3555 0x000000000316a450 code [0x000000000316a5c0, 0x000000000316a748]
Event: 5.192 Thread 0x0000000013ae4800 3556       4       sun.misc.MetaIndex::mayContain (51 bytes)
Event: 5.195 Thread 0x0000000013aeb800 nmethod 3554% 0x0000000003169c10 code [0x0000000003169d60, 0x000000000316a178]
Event: 5.196 Thread 0x0000000013ae4800 nmethod 3556 0x0000000003cd0950 code [0x0000000003cd0aa0, 0x0000000003cd0dd8]

GC Heap History (10 events):
Event: 3.874 GC heap before
{Heap before GC invocations=7 (full 0):
 PSYoungGen      total 59904K, used 59873K [0x00000000fab00000, 0x0000000100000000, 0x0000000100000000)
  eden space 49152K, 100% used [0x00000000fab00000,0x00000000fdb00000,0x00000000fdb00000)
  from space 10752K, 99% used [0x00000000ff580000,0x00000000ffff8750,0x0000000100000000)
  to   space 18944K, 0% used [0x00000000fdb00000,0x00000000fdb00000,0x00000000fed80000)
 ParOldGen       total 175104K, used 15355K [0x00000000f0000000, 0x00000000fab00000, 0x00000000fab00000)
  object space 175104K, 8% used [0x00000000f0000000,0x00000000f0efee00,0x00000000fab00000)
 Metaspace       used 17806K, capacity 18158K, committed 18304K, reserved 1064960K
  class space    used 1962K, capacity 2115K, committed 2176K, reserved 1048576K
Event: 3.889 GC heap after
Heap after GC invocations=7 (full 0):
 PSYoungGen      total 68096K, used 10016K [0x00000000fab00000, 0x0000000100000000, 0x0000000100000000)
  eden space 49152K, 0% used [0x00000000fab00000,0x00000000fab00000,0x00000000fdb00000)
  from space 18944K, 52% used [0x00000000fdb00000,0x00000000fe4c8000,0x00000000fed80000)
  to   space 18944K, 0% used [0x00000000fed80000,0x00000000fed80000,0x0000000100000000)
 ParOldGen       total 175104K, used 20120K [0x00000000f0000000, 0x00000000fab00000, 0x00000000fab00000)
  object space 175104K, 11% used [0x00000000f0000000,0x00000000f13a6220,0x00000000fab00000)
 Metaspace       used 17806K, capacity 18158K, committed 18304K, reserved 1064960K
  class space    used 1962K, capacity 2115K, committed 2176K, reserved 1048576K
}
Event: 4.156 GC heap before
{Heap before GC invocations=8 (full 0):
 PSYoungGen      total 68096K, used 59168K [0x00000000fab00000, 0x0000000100000000, 0x0000000100000000)
  eden space 49152K, 100% used [0x00000000fab00000,0x00000000fdb00000,0x00000000fdb00000)
  from space 18944K, 52% used [0x00000000fdb00000,0x00000000fe4c8000,0x00000000fed80000)
  to   space 18944K, 0% used [0x00000000fed80000,0x00000000fed80000,0x0000000100000000)
 ParOldGen       total 175104K, used 20120K [0x00000000f0000000, 0x00000000fab00000, 0x00000000fab00000)
  object space 175104K, 11% used [0x00000000f0000000,0x00000000f13a6220,0x00000000fab00000)
 Metaspace       used 17948K, capacity 18286K, committed 18560K, reserved 1064960K
  class space    used 1962K, capacity 2115K, committed 2176K, reserved 1048576K
Event: 4.168 GC heap after
Heap after GC invocations=8 (full 0):
 PSYoungGen      total 67072K, used 11328K [0x00000000fab00000, 0x00000000fff00000, 0x0000000100000000)
  eden space 49152K, 0% used [0x00000000fab00000,0x00000000fab00000,0x00000000fdb00000)
  from space 17920K, 63% used [0x00000000fed80000,0x00000000ff890000,0x00000000fff00000)
  to   space 18432K, 0% used [0x00000000fdb00000,0x00000000fdb00000,0x00000000fed00000)
 ParOldGen       total 175104K, used 22977K [0x00000000f0000000, 0x00000000fab00000, 0x00000000fab00000)
  object space 175104K, 13% used [0x00000000f0000000,0x00000000f1670690,0x00000000fab00000)
 Metaspace       used 17948K, capacity 18286K, committed 18560K, reserved 1064960K
  class space    used 1962K, capacity 2115K, committed 2176K, reserved 1048576K
}
Event: 4.381 GC heap before
{Heap before GC invocations=9 (full 0):
 PSYoungGen      total 67072K, used 60480K [0x00000000fab00000, 0x00000000fff00000, 0x0000000100000000)
  eden space 49152K, 100% used [0x00000000fab00000,0x00000000fdb00000,0x00000000fdb00000)
  from space 17920K, 63% used [0x00000000fed80000,0x00000000ff890000,0x00000000fff00000)
  to   space 18432K, 0% used [0x00000000fdb00000,0x00000000fdb00000,0x00000000fed00000)
 ParOldGen       total 175104K, used 22977K [0x00000000f0000000, 0x00000000fab00000, 0x00000000fab00000)
  object space 175104K, 13% used [0x00000000f0000000,0x00000000f1670690,0x00000000fab00000)
 Metaspace       used 17948K, capacity 18286K, committed 18560K, reserved 1064960K
  class space    used 1962K, capacity 2115K, committed 2176K, reserved 1048576K
Event: 4.397 GC heap after
Heap after GC invocations=9 (full 0):
 PSYoungGen      total 67584K, used 11392K [0x00000000fab00000, 0x00000000fff80000, 0x0000000100000000)
  eden space 49152K, 0% used [0x00000000fab00000,0x00000000fab00000,0x00000000fdb00000)
  from space 18432K, 61% used [0x00000000fdb00000,0x00000000fe620000,0x00000000fed00000)
  to   space 17920K, 0% used [0x00000000fee00000,0x00000000fee00000,0x00000000fff80000)
 ParOldGen       total 175104K, used 25842K [0x00000000f0000000, 0x00000000fab00000, 0x00000000fab00000)
  object space 175104K, 14% used [0x00000000f0000000,0x00000000f193ca50,0x00000000fab00000)
 Metaspace       used 17948K, capacity 18286K, committed 18560K, reserved 1064960K
  class space    used 1962K, capacity 2115K, committed 2176K, reserved 1048576K
}
Event: 4.625 GC heap before
{Heap before GC invocations=10 (full 0):
 PSYoungGen      total 67584K, used 60544K [0x00000000fab00000, 0x00000000fff80000, 0x0000000100000000)
  eden space 49152K, 100% used [0x00000000fab00000,0x00000000fdb00000,0x00000000fdb00000)
  from space 18432K, 61% used [0x00000000fdb00000,0x00000000fe620000,0x00000000fed00000)
  to   space 17920K, 0% used [0x00000000fee00000,0x00000000fee00000,0x00000000fff80000)
 ParOldGen       total 175104K, used 25842K [0x00000000f0000000, 0x00000000fab00000, 0x00000000fab00000)
  object space 175104K, 14% used [0x00000000f0000000,0x00000000f193ca50,0x00000000fab00000)
 Metaspace       used 17953K, capacity 18350K, committed 18560K, reserved 1064960K
  class space    used 1962K, capacity 2115K, committed 2176K, reserved 1048576K
Event: 4.636 GC heap after
Heap after GC invocations=10 (full 0):
 PSYoungGen      total 68096K, used 7456K [0x00000000fab00000, 0x0000000100000000, 0x0000000100000000)
  eden space 50176K, 0% used [0x00000000fab00000,0x00000000fab00000,0x00000000fdc00000)
  from space 17920K, 41% used [0x00000000fee00000,0x00000000ff548000,0x00000000fff80000)
  to   space 18432K, 0% used [0x00000000fdc00000,0x00000000fdc00000,0x00000000fee00000)
 ParOldGen       total 175104K, used 33477K [0x00000000f0000000, 0x00000000fab00000, 0x00000000fab00000)
  object space 175104K, 19% used [0x00000000f0000000,0x00000000f20b14f0,0x00000000fab00000)
 Metaspace       used 17953K, capacity 18350K, committed 18560K, reserved 1064960K
  class space    used 1962K, capacity 2115K, committed 2176K, reserved 1048576K
}
Event: 4.852 GC heap before
{Heap before GC invocations=11 (full 0):
 PSYoungGen      total 68096K, used 57632K [0x00000000fab00000, 0x0000000100000000, 0x0000000100000000)
  eden space 50176K, 100% used [0x00000000fab00000,0x00000000fdc00000,0x00000000fdc00000)
  from space 17920K, 41% used [0x00000000fee00000,0x00000000ff548000,0x00000000fff80000)
  to   space 18432K, 0% used [0x00000000fdc00000,0x00000000fdc00000,0x00000000fee00000)
 ParOldGen       total 175104K, used 33477K [0x00000000f0000000, 0x00000000fab00000, 0x00000000fab00000)
  object space 175104K, 19% used [0x00000000f0000000,0x00000000f20b14f0,0x00000000fab00000)
 Metaspace       used 17957K, capacity 18350K, committed 18560K, reserved 1064960K
  class space    used 1962K, capacity 2115K, committed 2176K, reserved 1048576K
Event: 4.864 GC heap after
Heap after GC invocations=11 (full 0):
 PSYoungGen      total 54272K, used 3904K [0x00000000fab00000, 0x0000000100000000, 0x0000000100000000)
  eden space 50176K, 0% used [0x00000000fab00000,0x00000000fab00000,0x00000000fdc00000)
  from space 4096K, 95% used [0x00000000fdc00000,0x00000000fdfd0000,0x00000000fe000000)
  to   space 18944K, 0% used [0x00000000fed80000,0x00000000fed80000,0x0000000100000000)
 ParOldGen       total 175104K, used 40375K [0x00000000f0000000, 0x00000000fab00000, 0x00000000fab00000)
  object space 175104K, 23% used [0x00000000f0000000,0x00000000f276df00,0x00000000fab00000)
 Metaspace       used 17957K, capacity 18350K, committed 18560K, reserved 1064960K
  class space    used 1962K, capacity 2115K, committed 2176K, reserved 1048576K
}

Deoptimization events (10 events):
Event: 5.041 Thread 0x000000001afea000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000037ce994 method=java.util.concurrent.locks.ReentrantLock$NonfairSync.lock()V @ 6
Event: 5.041 Thread 0x000000001afea000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000037cdb24 method=java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(I)Z @ 28
Event: 5.041 Thread 0x000000001afea000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000037ce708 method=java.util.concurrent.locks.ReentrantLock$NonfairSync.lock()V @ 6
Event: 5.054 Thread 0x0000000015658000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003401508 method=java.lang.ref.SoftReference.get()Ljava/lang/Object; @ 17
Event: 5.054 Thread 0x0000000015658000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003406ffc method=java.lang.StringCoding$StringDecoder.decode([BII)[C @ 33
Event: 5.131 Thread 0x0000000015658000 Uncommon trap: reason=null_check action=make_not_entrant pc=0x0000000003adf5d8 method=javax.swing.UIDefaults.getUIClass(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class; @ 22
Event: 5.132 Thread 0x0000000015658000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003b72a44 method=java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; @ 45
Event: 5.132 Thread 0x0000000015658000 Uncommon trap: reason=null_check action=make_not_entrant pc=0x00000000039a22d0 method=javax.swing.UIDefaults.getColor(Ljava/lang/Object;)Ljava/awt/Color; @ 7
Event: 5.132 Thread 0x0000000015658000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000039b782c method=java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; @ 45
Event: 5.132 Thread 0x0000000015658000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003926f58 method=com.sun.java.swing.plaf.windows.DesktopProperty.createValue(Ljavax/swing/UIDefaults;)Ljava/lang/Object; @ 4

Classes redefined (0 events):
No events

Internal exceptions (10 events):
Event: 1.422 Thread 0x0000000015658000 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.lambda$comparing$ea9a8b3a$1(Ljava/util/Comparator;Ljava/util/function/Function;Ljava/lang/Object;Ljava/lang/Object;)I> (0x00000000fd782fa0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cyg
Event: 3.083 Thread 0x0000000015658000 Implicit null exception at 0x000000000393ddfe to 0x000000000393de32
Event: 3.084 Thread 0x0000000015658000 Implicit null exception at 0x0000000003949db0 to 0x0000000003949dc3
Event: 3.084 Thread 0x0000000015658000 Implicit null exception at 0x000000000354f773 to 0x000000000355165d
Event: 4.168 Thread 0x0000000015658000 Implicit null exception at 0x00000000037fc95f to 0x00000000037fd51d
Event: 5.045 Thread 0x0000000015658000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000fd1d4728) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u202\12323\hotspot\src\share\vm\prims\jvm.cpp, line 1502]
Event: 5.045 Thread 0x0000000015658000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000fd1d4b20) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u202\12323\hotspot\src\share\vm\prims\jvm.cpp, line 1502]
Event: 5.132 Thread 0x0000000015658000 Implicit null exception at 0x0000000003b727a0 to 0x0000000003b72a29
Event: 5.132 Thread 0x0000000015658000 Implicit null exception at 0x00000000039b7776 to 0x00000000039b7811
Event: 5.171 Thread 0x0000000015658000 Exception <a 'java/lang/UnsatisfiedLinkError': 謖・ョ壹&繧後◆繝励Ο繧キ繝シ繧ク繝」縺瑚ヲ九▽縺九j縺セ縺帙s縲・

> (0x00000000fd996800) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u202\12323\hotspot\src\share\vm\prims\jni.cpp, line 736]

Events (10 events):
Event: 5.195 loading class java/awt/Window$Type
Event: 5.195 loading class java/awt/Window$Type done
Event: 5.195 loading class java/awt/Window$1
Event: 5.195 loading class sun/awt/AWTAccessor$WindowAccessor
Event: 5.195 loading class sun/awt/AWTAccessor$WindowAccessor done
Event: 5.195 loading class java/awt/Window$1 done
Event: 5.195 loading class java/awt/Frame$1
Event: 5.195 loading class sun/awt/AWTAccessor$FrameAccessor
Event: 5.195 loading class sun/awt/AWTAccessor$FrameAccessor done
Event: 5.195 loading class java/awt/Frame$1 done


Dynamic libraries:
0x00007ff707160000 - 0x00007ff707197000 	D:\processing-3.5.4\java\bin\javaw.exe
0x00007ffc3fbc0000 - 0x00007ffc3fdb0000 	C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffc3ea40000 - 0x00007ffc3eaf2000 	C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffc3d9c0000 - 0x00007ffc3dc65000 	C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffc3f340000 - 0x00007ffc3f3e3000 	C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffc3e7f0000 - 0x00007ffc3e88e000 	C:\WINDOWS\System32\msvcrt.dll
0x00007ffc3e400000 - 0x00007ffc3e497000 	C:\WINDOWS\System32\sechost.dll
0x00007ffc3f3f0000 - 0x00007ffc3f510000 	C:\WINDOWS\System32\RPCRT4.dll
0x00007ffc3f620000 - 0x00007ffc3f7b4000 	C:\WINDOWS\System32\USER32.dll
0x00007ffc3d990000 - 0x00007ffc3d9b1000 	C:\WINDOWS\System32\win32u.dll
0x00007ffc3eb10000 - 0x00007ffc3eb36000 	C:\WINDOWS\System32\GDI32.dll
0x00007ffc3d650000 - 0x00007ffc3d7e6000 	C:\WINDOWS\System32\gdi32full.dll
0x00007ffc3cb50000 - 0x00007ffc3cbee000 	C:\WINDOWS\System32\msvcp_win.dll
0x00007ffc3cbf0000 - 0x00007ffc3ccea000 	C:\WINDOWS\System32\ucrtbase.dll
0x00007ffc286c0000 - 0x00007ffc28944000 	C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.18362.1139_none_9e7bf2d3e4605ac6\COMCTL32.dll
0x00007ffc3f7c0000 - 0x00007ffc3faf5000 	C:\WINDOWS\System32\combase.dll
0x00007ffc3cd50000 - 0x00007ffc3cdd0000 	C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ffc3dcd0000 - 0x00007ffc3dcfe000 	C:\WINDOWS\System32\IMM32.DLL
0x0000000056dc0000 - 0x0000000056e92000 	D:\processing-3.5.4\java\bin\msvcr100.dll
0x0000000055ed0000 - 0x0000000056775000 	D:\processing-3.5.4\java\bin\server\jvm.dll
0x00007ffc3e3f0000 - 0x00007ffc3e3f8000 	C:\WINDOWS\System32\PSAPI.DLL
0x00007ffc34b80000 - 0x00007ffc34b8a000 	C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffc394e0000 - 0x00007ffc39504000 	C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffc20b40000 - 0x00007ffc20b49000 	C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffc3e570000 - 0x00007ffc3e5df000 	C:\WINDOWS\System32\WS2_32.dll
0x00007ffc394b0000 - 0x00007ffc394dd000 	C:\WINDOWS\SYSTEM32\WINMMBASE.dll
0x00007ffc3d550000 - 0x00007ffc3d59a000 	C:\WINDOWS\System32\cfgmgr32.dll
0x00007ffc37db0000 - 0x00007ffc37dbf000 	D:\processing-3.5.4\java\bin\verify.dll
0x00007ffc20b90000 - 0x00007ffc20bb9000 	D:\processing-3.5.4\java\bin\java.dll
0x00007ffc37d90000 - 0x00007ffc37da6000 	D:\processing-3.5.4\java\bin\zip.dll
0x00007ffc3dd00000 - 0x00007ffc3e3e7000 	C:\WINDOWS\System32\SHELL32.dll
0x00007ffc3f290000 - 0x00007ffc3f339000 	C:\WINDOWS\System32\shcore.dll
0x00007ffc3cdd0000 - 0x00007ffc3d550000 	C:\WINDOWS\System32\windows.storage.dll
0x00007ffc3cb20000 - 0x00007ffc3cb43000 	C:\WINDOWS\System32\profapi.dll
0x00007ffc3cad0000 - 0x00007ffc3cb1a000 	C:\WINDOWS\System32\powrprof.dll
0x00007ffc3ca80000 - 0x00007ffc3ca90000 	C:\WINDOWS\System32\UMPDC.dll
0x00007ffc3e510000 - 0x00007ffc3e562000 	C:\WINDOWS\System32\shlwapi.dll
0x00007ffc3ca90000 - 0x00007ffc3caa1000 	C:\WINDOWS\System32\kernel.appcore.dll
0x00007ffc3d7f0000 - 0x00007ffc3d807000 	C:\WINDOWS\System32\cryptsp.dll
0x00007ffc14750000 - 0x00007ffc148e9000 	D:\processing-3.5.4\java\bin\awt.dll
0x00007ffc3e720000 - 0x00007ffc3e7e5000 	C:\WINDOWS\System32\OLEAUT32.dll
0x00007ffc3ab00000 - 0x00007ffc3ab8f000 	C:\WINDOWS\SYSTEM32\apphelp.dll
0x00007ffc3ac90000 - 0x00007ffc3ad29000 	C:\WINDOWS\system32\uxtheme.dll
0x00007ffc3e5e0000 - 0x00007ffc3e715000 	C:\WINDOWS\System32\MSCTF.dll
0x00007ffc3ebc0000 - 0x00007ffc3ed17000 	C:\WINDOWS\System32\ole32.dll
0x00007ffc1e110000 - 0x00007ffc1e135000 	D:\processing-3.5.4\lib\jnidispatch.dll
0x00007ffc3b2e0000 - 0x00007ffc3b30d000 	C:\WINDOWS\system32\DWMAPI.DLL
0x00007ffc3be40000 - 0x00007ffc3be73000 	C:\WINDOWS\system32\rsaenh.dll
0x00007ffc3d960000 - 0x00007ffc3d986000 	C:\WINDOWS\System32\bcrypt.dll
0x00007ffc3c960000 - 0x00007ffc3c985000 	C:\WINDOWS\SYSTEM32\USERENV.dll
0x00007ffc3c4a0000 - 0x00007ffc3c4ac000 	C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
0x00007ffc39620000 - 0x00007ffc3963a000 	D:\processing-3.5.4\java\bin\net.dll
0x00007ffc30960000 - 0x00007ffc30b36000 	C:\WINDOWS\SYSTEM32\urlmon.dll
0x00007ffc306b0000 - 0x00007ffc30957000 	C:\WINDOWS\SYSTEM32\iertutil.dll
0x00007ffc3c2d0000 - 0x00007ffc3c337000 	C:\WINDOWS\system32\mswsock.dll
0x00007ffc3bfe0000 - 0x00007ffc3c01a000 	C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
0x00007ffc3ed40000 - 0x00007ffc3ed48000 	C:\WINDOWS\System32\NSI.dll
0x00007ffc34d90000 - 0x00007ffc34da6000 	C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
0x00007ffc34d70000 - 0x00007ffc34d8c000 	C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
0x00007ffc3c020000 - 0x00007ffc3c0eb000 	C:\WINDOWS\SYSTEM32\DNSAPI.dll
0x00007ffc36170000 - 0x00007ffc36182000 	D:\processing-3.5.4\java\bin\nio.dll
0x00007ffc1e0c0000 - 0x00007ffc1e107000 	D:\processing-3.5.4\java\bin\fontmanager.dll
0x00007ffc0e120000 - 0x00007ffc0e276000 	C:\WINDOWS\system32\opengl32.dll
0x00007ffc0e0b0000 - 0x00007ffc0e0dc000 	C:\WINDOWS\SYSTEM32\GLU32.dll
0x00007ffc3b6b0000 - 0x00007ffc3b6d0000 	C:\WINDOWS\SYSTEM32\dxcore.dll
0x00007ffc1ce20000 - 0x00007ffc1ce62000 	D:\processing-3.5.4\java\bin\t2k.dll
0x00007ffbee610000 - 0x00007ffbee63a000 	C:\WINDOWS\System32\DriverStore\FileRepository\u0359160.inf_amd64_2abe2598d9a3141f\B358802\atig6pxx.dll
0x00007ffbdd4a0000 - 0x00007ffbe01b2000 	C:\WINDOWS\System32\DriverStore\FileRepository\u0359160.inf_amd64_2abe2598d9a3141f\B358802\atio6axx.dll
0x00007ffc3ee20000 - 0x00007ffc3f290000 	C:\WINDOWS\System32\SETUPAPI.dll
0x00007ffc12690000 - 0x00007ffc126b3000 	C:\WINDOWS\SYSTEM32\dxva2.dll
0x00007ffbeefb0000 - 0x00007ffbeefec000 	C:\WINDOWS\System32\DriverStore\FileRepository\u0359160.inf_amd64_2abe2598d9a3141f\B358802\atig6txx.dll
0x00007ffbedec0000 - 0x00007ffbee07c000 	C:\WINDOWS\SYSTEM32\atiadlxx.dll
0x00007ffc391e0000 - 0x00007ffc392d0000 	C:\WINDOWS\SYSTEM32\PROPSYS.dll
0x00007ffc3c870000 - 0x00007ffc3c89a000 	C:\WINDOWS\SYSTEM32\DEVOBJ.dll
0x00007ffc3ccf0000 - 0x00007ffc3cd4c000 	C:\WINDOWS\System32\WINTRUST.dll
0x00007ffc3cab0000 - 0x00007ffc3cac2000 	C:\WINDOWS\System32\MSASN1.dll
0x00007ffc3d810000 - 0x00007ffc3d959000 	C:\WINDOWS\System32\CRYPT32.dll
0x00007ffc33950000 - 0x00007ffc33b44000 	C:\WINDOWS\SYSTEM32\dbghelp.dll

VM Arguments:
jvm_args: -Xmx256m -Djava.ext.dirs=D:\processing-3.5.4\\java\\lib\\ext -Djna.nosys=true -Djna.boot.library.path=lib -Djna.nounpack=true -Dsun.java2d.d3d=false -Dsun.java2d.ddoffscreen=false -Dsun.java2d.noddraw=true 
java_command: processing.app.Base
java_class_path (initial): lib;lib\pde.jar;core\library\core.jar;lib\jna.jar;lib\jna-platform.jar;lib\antlr.jar;lib\ant.jar;lib\ant-launcher.jar
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\libnvvp;C:\Perl64\site\bin;C:\Perl64\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\user0001\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;D:\xampp\php\;D:\xampp\mysql\bin\;C:\ProgramData\ComposerSetup\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\System32\OpenSSH\;C:\HashiCorp\Vagrant\bin;C:\Users\user0001\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\FlutterSDK\flutter\bin\;C:\Program Files\CMake\bin;C:\Program Files\Git\cmd;C:\Users\user0001\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\user0001\AppData\Local\Programs\Python\Python38\;C:\Users\user0001\AppData\Local\Microsoft\WindowsApps;C:\Users\user0001\AppData\Roaming\npm;C:\Program Files\Oracle\VirtualBox;C:\Users\user0001\AppData\Local\Programs\Microsoft VS Code\bin;D:\processing-3.5.4\java\bin
USERNAME=user0001
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows 10.0 , 64 bit Build 18362 (10.0.18362.1110)

CPU:total 4 (initial active 4) (4 cores per cpu, 1 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, erms, tsc, tscinvbit, tscinv

Memory: 4k page, physical 33420352k(23656016k free), swap 50197568k(35805108k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.202-b08) for windows-amd64 JRE (1.8.0_202-b08), built on Dec 15 2018 19:54:30 by "java_re" with MS VC++ 10.0 (VS2010)

time: Tue Oct 27 12:10:57 2020
timezone: 東京 (標準時)
elapsed time: 5 seconds (0d 0h 0m 5s)

色々調べてみると、原因特定は難しいが最近のビデオカードドライバとの相性が良く無いみたい。

とりあえず片っ端からググってみたらこんな記事が。

Windowsのシステム環境変数にJavaのオプションを追加してみたら、Processingが全く落ちなくなったンゴねぇ・・・

ついでにメモリも1Gにしておこう

システム環境変数名:JAVA_TOOL_OPTIONS
値:-Xmx1024M -Dsun.awt.nopixfmt=true

っと横道に逸れましたが、ライブラリの追加でしたね。

Processingに外部ライブラリを追加してVSCodeで使う

本家ProcessingのIDEを起動しまして、

processing_addlib01

スケッチ – ライブラリをインポート – ライブラリを追加

とやると、ライブラリマネージャ的なものが立ち上がります。

processing_addlib02

ここで何かライブラリを。。。

決めてなかった・・・

なんか押しボタンみたいなのが便利らしいのでそいつを入れてみます。

「controlP5」で検索をかけて、Installをポチっと。

processing_addlib04

control5はUIを簡単に作れるらしい有名なライブラリみたいです。

そしたらおもむろに本家Processingを終了。

VSCodeに戻りまして、、、

ソースにimport文を追加します。

import controlP5.*;

このままコンパイルしてみて通ればライブラリがちゃんと使える筈・・・・

大丈夫な模様;

さて何となく大丈夫っぽいので、試しにボタンでもつけてみます。

import controlP5.*;

ControlP5 cp5;
int togglecolor = 255;

// とりあえずなんか書いてみる
void setup() {			// Arduinoと同じ
	size(800, 600);		// ウインドウサイズ
	PFont font = createFont("MS P明朝", 50);	// フォントを指定してインスタンスを作成
	textFont(font);							// フォントに反映
	
	background(togglecolor);	// 背景色を設定

	// controlp5 インスタンス作成
	cp5 = new ControlP5(this);
	// ボタンでも
	cp5.addButton("btn")
		.setLabel("Push Here!")
		.setPosition(600, 100)
		.setSize(150, 50);

	// テキストを表示してみる
	fill(0);			// 描画色を再設定
	textSize(60);		// テキストサイズを設定
	text("こんにちわ\n日本!", 100, 100);	// テキストを描画

}
void btn() {

	if(togglecolor > 0) {
		togglecolor = 0;
	} else {
		togglecolor = 255;
	}
	background(togglecolor);	// 背景色を設定
}

void draw() {
	
	fill(255,0,0);		// 描画色を設定
	circle(width / 2, height / 2, 300);	// 円を描画

	// テキストを表示してみる
	fill(0);			// 描画色を再設定
	textSize(60);		// テキストサイズを設定
	text("こんにちわ\n日本!", 100, 100);	// テキストを描画

	// ついでにターミナルにも文字列を表示
	//	println("Hello World!");	// Arduinoっぽく書いてみる
	delay(1);				// Arduinoっぽくディレイしてみる
}

先日Processingを導入した時の使いまわしです・・・

これを実行っと

マイコンに転送しなくても動いてくれて、Windows上で完結するのは簡単で良いですね

ボタンもイベントが勝手に発生する類のものらしく、これを拾うのも非常に簡単。

JavaScriptみたいな感じ・・・?

いや中身Javaですね( ノД`)

さて、外部ライブラリも問題なく動いたところで

ためしにライブラリの実体ファイルがあるディレクトリを名前を別の場所に移してみましたところ、やはりライブラリが見つからない旨のエラーが出力されました。

VSCodeの「Processing Language」も本家Processingのコンパイラをそのまま呼んでいるだけですので、どうやらProcessingを起動した時に出来る設定ファイルの内容を読んでいる様ですね。

C:\Users[ユーザー名]\AppData\Roaming\Processing\preferences.txt

これの「sketchbook.path.three」の通りの場所にあれば(本家Processingからライブラリを導入したのであれば)VSCode上でも全く問題なく使えるみたいです。

まだProcessingはサッパリ判らない状態ですが、なんかJavaScriptみたいなものかなと思っておけばいいのかしら。

何にしても、「簡単」は正義ですわ( ノД`)