Skip to content

skeptict/TanquePatterns2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TanquePatterns 2

TanquePatterns 2 is a macOS-first SwiftUI construction studio for Islamic geometric pattern drafting. The app is built around reusable geometric logic rather than canned templates, so visible construction steps drive the final ornament.

MVP Scope

  • Reusable geometric kernel with primitives, intersections, transforms, subdivision, snapping, and constraint checks
  • Step-based construction engine with replayable operations
  • Layered renderer for guides, emphasized geometry, and final pattern lines
  • Interactive pan and zoom viewport
  • Two complete procedural constructions: an eightfold square-on-square star and a sixfold hexagram
  • PNG and SVG export
  • Unit tests for geometry and construction logic

Project Layout

  • Sources/GeometryKernel: core geometric primitives and operations
  • Sources/ConstructionKit: construction engine, step records, pattern library
  • Sources/RenderingKit: SwiftUI rendering layer and theme
  • Sources/RenderingKit/SVGExporter.swift: vector export from ConstructionResult
  • Sources/TanquePatterns2: macOS application shell, view model, controls, export
  • Tests: kernel and construction coverage
  • docs/ARCHITECTURE.md: module responsibilities and extension points

Build

Open Package.swift in Xcode to work with the app as a Swift package, or use:

swift test
swift build
swift build --build-system xcode

Next Hooks

  • SVG export
  • richer construction families and tilings
  • animated playback timing controls
  • annotation mode
  • iPad and Pencil workflows
  • parametric editing tools

About

Islamic Geometric Pattern generator

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages