This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ___Loop_____________________: | |
| read task.md file, execute instructions specified there | |
| ___Intent___________________: | |
| The user wants me to read a file called `task.md` and execute the instructions specified there. I need to use Kotlin Script to read the file and see what's inside. | |
| Let me start by reading the file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Golem XIV - Autonomous metacognitive AI system with semantic memory and self-directed research | |
| * Copyright (C) 2026 Kazimierz Pogoda / Xemantic | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU Affero General Public License as | |
| * published by the Free Software Foundation, either version 3 of the | |
| * License, or (at your option) any later version. | |
| * | |
| * This program is distributed in the hope that it will be useful, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // spectral_zucconi6 by Alan Zucconi rewritten from GLSL to JS by Kazik Pogoda | |
| // GLSL: https://www.shadertoy.com/view/ls2Bz1 | |
| const ONE_IN_3D = [1, 1, 1]; | |
| const c1 = [3.54585104, 2.93225262, 2.41593945]; | |
| const x1 = [0.69549072, 0.49228336, 0.27699880]; | |
| const y1 = [0.02312639, 0.15225084, 0.52607955]; | |
| const c2 = [3.90307140, 3.21182957, 3.96587128]; | |
| const x2 = [0.11748627, 0.86755042, 0.66077860]; | |
| const y2 = [0.84897130, 0.88445281, 0.73949448]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function (root, factory) { | |
| if (typeof define === 'function' && define.amd) | |
| define(['exports'], factory); | |
| else if (typeof exports === 'object') | |
| factory(module.exports); | |
| else | |
| root['openrndr-kotlinjs-test'] = factory(typeof this['openrndr-kotlinjs-test'] === 'undefined' ? {} : this['openrndr-kotlinjs-test']); | |
| }(this, function (_) { | |
| 'use strict'; | |
| NodeJsOutput_0.prototype = Object.create(BaseOutput.prototype); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.xemantic.test.howfast; | |
| import java.util.Arrays; | |
| public class Java2TimesFasterThanC { | |
| private static final int MAX_PAYLOAD_SIZE = 10000; | |
| private static final int INITIAL_NODE_COUNT = 1000; | |
| private static final long MUTATION_COUNT = 10000000L; | |
| private static final int MAX_MUTATION_SIZE = 10; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <math.h> | |
| const int MAX_PAYLOAD_SIZE = 10000; | |
| const int INITIAL_NODE_COUNT = 1000; | |
| const long MUTATION_COUNT = 10000000L; | |
| const int MAX_MUTATION_SIZE = 10; | |
| typedef struct Node Node; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // see full article: https://medium.com/@kazikpogoda/the-limits-of-processing-and-how-i-transcend-them-with-openrndr-e6a63c5924fd | |
| import org.openkinect.freenect.DepthFormat | |
| import org.openkinect.freenect.Freenect | |
| import org.openrndr.* | |
| import org.openrndr.draw.* | |
| import java.nio.ByteBuffer | |
| import java.util.* | |
| import java.util.concurrent.ConcurrentLinkedQueue | |
| const val KINECT_WIDTH : Int = 640 |