ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/thatdeveloperguy-website / tools/svg/model.ts

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/thatdeveloperguy-website / tools/svg/model.ts
DateNot specified in source
RepositoryJanady13/thatdeveloperguy-website
Revision2bea2ebdff0e34494bff597d4fa9c8422a0c3a94
Branchmain
Path or archive membertools/svg/model.ts
Original SHA-25665d542d97c7d37802087b2d2faa54c4272fb65739e171a1eb4ddc04bc467b8dc
Git blob SHA643bfa91231b65a2bacaaf8588168fa0b78e8ccb
Reading-copy SHA-25665d542d97c7d37802087b2d2faa54c4272fb65739e171a1eb4ddc04bc467b8dc

Original source ↗

Recovered source transcript

export type Point = [number, number]; export type Ring = Point[]; export interface PathNode { kind: 'path'; id: string; fill: string; rings: Ring[] } export interface GroupNode { kind: 'group'; id: string; label?: string; children: SvgNode[] } export type SvgNode = PathNode | GroupNode; export interface SceneDoc { width: number; height: number; title: string; children: SvgNode[] } export function* walkPaths(nodes: SvgNode[]): Generator<PathNode> { for (const node of nodes) { if (node.kind === 'path') yield node; else yield* walkPaths(node.children); } } export function findGroup(nodes: SvgNode[], id: string): GroupNode | null { for (const node of nodes) { if (node.kind !== 'group') continue; if (node.id === id) return node; const inner = findGroup(node.children, id); if (inner) return inner; } return null; }

Search equations, builds, manuscript text, and recovered sources.