explaingit

mikelikesdesign/ai-experiments

21SwiftAudience · designerComplexity · 2/5Setup · easy

TLDR

A personal collection of small Swift prototype apps exploring gesture-driven AI interactions, pinch to summarize, drag to change tone, expression-aware reading simplification, mostly runnable without an API key, designed as design inspiration rather than production code.

Mindmap

mindmap
  root((ai-experiments))
    What it does
      AI interaction prototypes
      Gesture-driven content changes
    Text experiments
      Pinch to summarize
      Drag to change tone
      Tap word for synonyms
      Expression-aware simplify
    Navigation experiments
      Topic mind map
      Prompt history navigator
      Reading tracker
    Tech stack
      Swift
      SwiftUI
    Setup
      No API key for demos
      Contact author for live AI
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Explore gesture-based AI interaction patterns like pinch-to-summarize or drag-to-change-tone as design inspiration for your own app.

USE CASE 2

Run and study prototypes of expression-aware reading or synonym-swapping interactions without needing an AI API key.

USE CASE 3

Use these experiments as a starting point for building novel AI-powered text editing interactions in your own Swift app.

Tech stack

SwiftSwiftUI

Getting it running

Difficulty · easy Time to first run · 5min

Most demos run without an API key out of the box, contact the author for live AI-connected versions of specific experiments.

No license information is mentioned in this repository.

In plain English

This repository is a personal collection of interaction design experiments that explore different ways to weave AI into app interfaces. Each experiment is a small, focused prototype that tries out a specific gesture or interaction pattern, such as pinching, dragging, or tapping, as a way to control AI-powered content changes. Many of the experiments focus on reshaping text on the fly. A pinch gesture compresses an article into a summary. A drag slider rewrites a message across different tones: concise, detailed, professional, or fun. Another drag control shifts reading content between a simplified version and a more in-depth one. A word-tap experiment lets the user press and hold any word in a passage so the AI surfaces synonyms, then tap one to swap it in. Another prototype watches the user's facial expression while they read, if they look confused, the AI shows a simpler version, and if they seem interested, it offers more detail. Other experiments explore navigation and discovery. One creates a visual diagram of connected topics based on a word or phrase the user types. Another adds a prompt navigator to a chat history, revealed by a pinch gesture, so the user can jump back to earlier exchanges. A reading tracker responds with small encouragement messages as the user works through an article. The author notes that most of the demos have been updated to run without an AI API key, so you can install and explore the ideas directly. If you want a version that connects to a live language model, the README directs you to contact the author on X. Several experiments listed in the README have their code marked as coming soon, meaning the source has not been posted yet.

Copy-paste prompts

Prompt 1
Walk me through how the pinch-to-summarize experiment in mikelikesdesign/ai-experiments triggers an AI summary and updates the displayed text when the gesture fires.
Prompt 2
How does the facial-expression-aware reading prototype in ai-experiments detect user confusion and switch to a simpler text version? What frameworks or signals does it use?
Prompt 3
I want to add a drag-to-change-tone AI interaction to my own SwiftUI app inspired by the ai-experiments tone slider. Give me a SwiftUI code structure to get started.
Open on GitHub → Explain another repo

← mikelikesdesign on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.