route ADD 192.168.10.54 MASK 255.255.255.255 192.168.0.248
sudo ip route add 192.168.10.54/32 via 192.168.0.248
sudo route -n add -net 192.168.10.54/32 192.168.0.248
extends KinematicBody2D | |
const COMBO_TIMEOUT = 0.3 # Timeout between key presses | |
const MAX_COMBO_CHAIN = 2 # Maximum key presses in a combo | |
var last_key_delta = 0 # Time since last keypress | |
var key_combo = [] # Current combo | |
func _input(event): | |
if event is InputEventKey and event.pressed and !event.echo: # If distinct key press down |
I hereby claim:
To claim this, I am signing this object:
This simple bar chart is constructed from a TSV file storing the frequency of letters in the English language. The chart employs conventional margins and a number of D3 features:
This example, using satirical data from The Onion, demonstrates how to wrap long axis labels to fit on multiple lines.
This force directed graph has (will have) the following features:
Click to perturb or drag the nodes!
This example demonstrates the flexibility of D3’s force layout. By using position Verlet integration, it is easy to add custom forces to a layout. In this example, the nodes are clustered around four foci using additional forces: the odd nodes are pushed down, the even nodes are pushed up, and a similar bisecting force is applied laterally. These custom forces are based purely on the index of the node, but they could just as easily be derived from properties of data!
This simple force-directed graph shows links between made up data
Click to add nodes! Nodes near the cursor will be linked to the new node.
D3's force layout uses the Barnes–Hut approximation to compute repulsive charge forces between all nodes efficiently. Links are implemented as geometric constraints on top of position Verlet integration, offering greater stability. A virtual spring between each node and the center of the chart prevents nodes from drifting into space.
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.path--background { | |
fill: none; | |
stroke: #000; | |
stroke-width: 2px; | |
} |