Skip to content

Instantly share code, notes, and snippets.

View dkochmanski's full-sized avatar

Daniel Kochmanski dkochmanski

View GitHub Profile

Sheet Geometry

Coordinate systems

We distinguish five types of coordinate systems in relation to a sheet:

local
coordinates as passed to drawing functions
sheet
coordinates are relative to the sheet’s region[fn:3]
@dkochmanski
dkochmanski / auto-module.lisp
Created October 11, 2022 18:00
asdf auto module
;; Written by me in 2018, recovered from https://github.com/sjl/rosalind/blob/ef6194d94c8fe85b53fd0a7811f7ba85c4809bb0/rosalind.asd#L1-L9
(defclass auto-module (module) ())
(defmethod component-children ((self auto-module))
(mapcar (lambda (p) (make-instance 'cl-source-file :type "lisp"
:pathname p
:name (pathname-name p)
:parent (component-parent self)))
(directory-files (component-pathname self)
;;;; Experimenting with 3D rendering in McCLIM
(ql:quickload '(mcclim 3d-matrices 3d-vectors 3d-quaternions))
(defpackage #:3d-test
(:use #:clim #:clime #:clim-lisp #:org.shirakumo.flare.quaternion
#:org.shirakumo.flare.matrix #:org.shirakumo.flare.vector))
(in-package :3d-test)