From 13dac3dd6b3ddbd926bf240fdf9061ae7d2a4758 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Sun, 13 Aug 2023 08:34:21 -0400 Subject: Add clock time for animation --- virtual-programs/time.folk | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 virtual-programs/time.folk (limited to 'virtual-programs/time.folk') diff --git a/virtual-programs/time.folk b/virtual-programs/time.folk new file mode 100644 index 00000000..8ce4c028 --- /dev/null +++ b/virtual-programs/time.folk @@ -0,0 +1,3 @@ +When $::thisProcess has step count /t/ { + Claim $::thisProcess has clock time [clock milliseconds] +} -- cgit v1.2.3 From bc1fc7ecb1718abb556408db88e53743df754bae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Cuervo?= Date: Sun, 13 Aug 2023 09:36:36 -0400 Subject: Update global node time to seconds --- virtual-programs/time.folk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'virtual-programs/time.folk') diff --git a/virtual-programs/time.folk b/virtual-programs/time.folk index 8ce4c028..961b1863 100644 --- a/virtual-programs/time.folk +++ b/virtual-programs/time.folk @@ -1,3 +1,3 @@ When $::thisProcess has step count /t/ { - Claim $::thisProcess has clock time [clock milliseconds] + Claim the clock time is [/ [clock milliseconds] 1000.0] } -- cgit v1.2.3 From f42902b4cf694a4ec3f4f345699384ab53e32ece Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Tue, 15 Aug 2023 17:14:19 -0400 Subject: WIP: Rewrite peering to use shm instead of websockets Huge performance increases, but crashy. --- virtual-programs/time.folk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'virtual-programs/time.folk') diff --git a/virtual-programs/time.folk b/virtual-programs/time.folk index 961b1863..1dff734d 100644 --- a/virtual-programs/time.folk +++ b/virtual-programs/time.folk @@ -1,3 +1,3 @@ When $::thisProcess has step count /t/ { - Claim the clock time is [/ [clock milliseconds] 1000.0] + Claim the clock time is [/ [clock milliseconds] 1000.0] } -- cgit v1.2.3