Skip to content

Instantly share code, notes, and snippets.

loopspace / setdeck.tex
Created Apr 21, 2022
Set Deck in TikZ
View setdeck.tex
sub pic actions/.code=\expandafter\tikz@addmode\expandafter{\tikz@picmode}
loopspace / circular_graph.tex
Created Dec 17, 2021
Circlular graph with arcs joining nodes
View circular_graph.tex
% These libraries handle the path manipulations
loopspace / beamerframe.tex
Created Nov 1, 2021
Exploded diagram of a beamer frame
View beamerframe.tex
\colorlet{background canvas}{base}
\colorlet{block body}{base!75}
\colorlet{block title bg}{base!75!Red}
\colorlet{block title fg}{Green}
loopspace / Main.lua
Created Nov 19, 2019
Codea solution to Bri_G's beermats puzzle
View Main.lua
-- Beermats
function setup()
-- load the socket library to get accurate time readings
local socket=require("socket")
-- measue the time at the start
local st=socket:gettime()
loopspace / SquareHexagonCircle.scad
Created Mar 11, 2019
A suggestion of a solid with a square, hexagon, and circle orthogonal projections.
View SquareHexagonCircle.scad
radius = 20;
hexradius = radius * cos(15);
loopspace / Tracks.lua
Created Dec 19, 2018
Codea Tracks code
View Tracks.lua
Track definitions.
function TrackPoints(a)
a = a or {}
local pts = a.points or {}
local t = a.start or 0
local r = a.step or .1
View stargraph.tex
star graph/.pic={
inner sep=0pt,
outer sep=0pt,
loopspace / ImageTools.h
Created May 23, 2018 — forked from tnlogy/ImageTools.h
A Codea addon for saving images to the photo album, share photos to facebook and detect faces in an image. Just add [self.viewController registerAddon:[ImageTools sharedInstance]]; to
View ImageTools.h
// ImageTools.h
// FaceDetection
// Created by Tobias Teleman on fredag 12 april 2013
// Copyright (c) Tobias Teleman. All rights reserved.
#import <Foundation/Foundation.h>
View Codea Tube
-- BezierTubes
function setup()
assert(craft, "Please include Craft as a dependency")
assert(OrbitViewer, "Please include Cameras (not Camera) as a dependency")
scene = craft.scene()
local track = scene:entity()
local p = f(0)
loopspace / TJ_Knots.tex
Created Sep 24, 2016
Knot for TJ Hitchman's course
View TJ_Knots.tex
\begin{tikzpicture}[use Hobby shortcut]
consider self intersections,
% draft mode=crossings,
ignore endpoint intersections=false,