Skip to content

Instantly share code, notes, and snippets.

@jimbok8
jimbok8 / designer.html
Last active March 11, 2016 10:07
designer
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-progress/paper-progress.html">
@jimbok8
jimbok8 / HelloViaKO.java
Created March 31, 2016 09:23 — forked from ivargrimstad/HelloViaKO.java
Hello World via Knockout4Java
package dew.demo.duke2brwsr;
import net.java.html.json.*;
@Model(className = "Data", properties = {
@Property(name = "image", type = String.class),
@Property(name = "buttonText", type =String.class),
@Property(name = "on", type = boolean.class)
})
class Duke2Brwsr {
static {
@jimbok8
jimbok8 / _GJK.md
Created October 21, 2019 16:47 — forked from vurtun/_GJK.md
3D Gilbert–Johnson–Keerthi (GJK) distance algorithm

Gilbert–Johnson–Keerthi (GJK) 3D distance algorithm

The Gilbert–Johnson–Keerthi (GJK) distance algorithm is a method of determining the minimum distance between two convex sets. The algorithm's stability, speed which operates in near-constant time, and small storage footprint make it popular for realtime collision detection.

Unlike many other distance algorithms, it has no requirments on geometry data to be stored in any specific format, but instead relies solely on a support function to iteratively generate closer simplices to the correct answer using the Minkowski sum (CSO) of two convex shapes.

@jimbok8
jimbok8 / TweakPhysics.groovy
Created November 30, 2019 07:31 — forked from madhephaestus/TweakPhysics.groovy
a physics tweak
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.stream.Collectors;
import javax.vecmath.Quat4f;
import javax.vecmath.Vector3f;
import com.bulletphysics.dynamics.RigidBody;
@jimbok8
jimbok8 / multidimrangesearch.py
Created February 20, 2023 09:54 — forked from s-l-teichmann/multidimrangesearch.py
Little script to play around with the code and data of H. Tropf, H. Herzog's paper 1981 paper "Multidimensional Range Search in Dynamically Balanced Trees".
#!/usr/bin/env/python
#
# Little script to play around with the code and
# data of H. Tropf, H. Herzog's paper 1981 paper
# "Multidimensional Range Search in Dynamically
# Balanced Trees".
#
# Thanks to Bernhard Herzog (unrelated to H. Herzog)
# for having a second look at the code.
#
@jimbok8
jimbok8 / main.dart
Created May 16, 2023 11:02
reverberating-diamond-4813
void main() {
for (int i = 0; i < 5; i++) {
print('hello ${i + 1}');
}
}