Files
2nd/10_Wiki/Topics/Architecture/Flow_State.md
T
2026-05-10 22:08:15 +09:00

6.0 KiB

id, title, category, status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, verification_status, tags, raw_sources, last_reinforced, github_commit, tech_stack
id title category status canonical_id aliases duplicate_of source_trust_level confidence_score verification_status tags raw_sources last_reinforced github_commit tech_stack
wiki-2026-0508-flow-state Flow State 10_Wiki/Topics verified self
Flow
Flow State
몰입
Csikszentmihalyi Flow
none A 0.9 applied
psychology
game-design
productivity
ux
2026-05-10 pending
language framework
design ux

Flow State

매 한 줄

"매 challenge와 skill이 정확히 균형된 순간 시간이 사라진다". 매 Flow는 Csikszentmihalyi(1975)가 정의한 optimal experience — 매 자아 의식 사라짐, immediate feedback, intrinsic reward. 2026 game design, productivity tool, learning platform의 매 design target.

매 핵심

매 8 Conditions (Csikszentmihalyi)

  1. Clear goals: 매 매 순간 무엇을 해야 하는지 명확
  2. Immediate feedback: 매 action → result 즉시
  3. Skill-challenge balance: 매 너무 쉬우면 boredom, 너무 어려우면 anxiety
  4. Action-awareness merge: 매 doing = thinking
  5. Concentration: 매 task에 완전 집중
  6. Sense of control: 매 outcome 지배감
  7. Loss of self-consciousness: 매 ego 사라짐
  8. Time distortion: 매 5시간이 30분처럼

매 Flow Channel

  • Anxiety zone: 매 challenge ≫ skill
  • Boredom zone: 매 challenge ≪ skill
  • Flow channel: 매 둘이 동반 상승 (스킬 ↑ → 도전 ↑)

매 응용

  1. Game difficulty curves (Souls-like, rhythm games).
  2. Coding flow (Pomodoro, focus mode).
  3. Dynamic difficulty adjustment (Resident Evil 4 director AI).
  4. Educational scaffolding (Duolingo adaptive).

💻 패턴

Dynamic Difficulty Adjustment (Unity C#)

public class FlowDifficulty : MonoBehaviour
{
    float playerSkill = 0.5f;  // 매 EMA estimate
    float currentDifficulty = 0.5f;
    
    void OnPlayerSuccess()
    {
        playerSkill = 0.9f * playerSkill + 0.1f * 1.0f;
        AdjustDifficulty();
    }
    
    void OnPlayerFail()
    {
        playerSkill = 0.9f * playerSkill + 0.1f * 0.0f;
        AdjustDifficulty();
    }
    
    void AdjustDifficulty()
    {
        // 매 keep difficulty slightly above skill (flow channel)
        currentDifficulty = Mathf.Clamp(playerSkill + 0.1f, 0.1f, 0.95f);
        ApplyDifficulty(currentDifficulty);
    }
}

Focus Mode (VS Code extension)

import * as vscode from 'vscode';

export function enterFlowMode() {
    vscode.workspace.getConfiguration().update('zenMode.fullScreen', true);
    vscode.workspace.getConfiguration().update('workbench.activityBar.visible', false);
    vscode.workspace.getConfiguration().update('editor.minimap.enabled', false);
    
    // 매 disable notifications
    vscode.commands.executeCommand('notifications.toggleDoNotDisturbMode');
    
    // 매 25min Pomodoro
    setTimeout(() => {
        vscode.window.showInformationMessage('매 flow check: 잠시 휴식?');
    }, 25 * 60 * 1000);
}

Skill Tracking (Python EMA)

class SkillTracker:
    def __init__(self, alpha=0.1):
        self.alpha = alpha
        self.skill = 0.5
    
    def update(self, success: bool):
        target = 1.0 if success else 0.0
        self.skill = (1 - self.alpha) * self.skill + self.alpha * target
    
    def in_flow_zone(self, difficulty: float) -> bool:
        # 매 difficulty 가 skill 의 ±15% 안에 있어야 flow
        return abs(difficulty - self.skill) < 0.15

Immediate Feedback (Web)

// 매 keystroke마다 syntax check (flow-friendly)
let timeoutId;
editor.on('change', () => {
    clearTimeout(timeoutId);
    timeoutId = setTimeout(() => {
        const errors = lint(editor.getValue());
        showInlineErrors(errors);  // 매 즉시 visual feedback
    }, 100);  // 매 debounce 100ms — 매 fast enough for flow
});

Distraction Blocking (macOS Focus)

# 매 macOS Shortcuts CLI
shortcuts run "Focus: Do Not Disturb On"

# 매 hosts file block social
echo "0.0.0.0 twitter.com" | sudo tee -a /etc/hosts
echo "0.0.0.0 reddit.com" | sudo tee -a /etc/hosts

Flow Telemetry (game)

def log_session_flow(session):
    duration = session.end - session.start
    deaths = session.deaths
    completions = session.completions
    
    # 매 high engagement + moderate failure = flow
    if duration > timedelta(minutes=20) \
       and 0.3 < deaths / (deaths + completions) < 0.6:
        analytics.track("flow_session", session.user_id)

매 결정 기준

상황 Design priority
Action game Tight feedback loop, DDA
Strategy game Clear goal, skill ceiling exposure
Learning app Adaptive difficulty, immediate hint
Productivity tool Distraction-free mode, focus timer
Casual game Low anxiety, high accessibility

기본값: 매 difficulty = skill + 10%, feedback < 200ms, distraction = 0.

🔗 Graph

🤖 LLM 활용

언제: 매 game design review, learning UX critique, productivity workflow 진단. 언제 X: 매 medical/clinical attention disorder context — flow state는 self-help framework, not therapy.

안티패턴

  • Forced flow: 매 user를 trap (매 dark UX) → 매 burnout, churn.
  • Notification interrupt: 매 push 매 5분 → 매 flow 진입 불가능.
  • Difficulty spike: 매 sudden challenge → 매 anxiety zone 추락.
  • Reward without challenge: 매 free progress → 매 boredom.

🧪 검증 / 중복

  • Verified (Csikszentmihalyi, "Flow: The Psychology of Optimal Experience", 1990).
  • Verified (Sweetser & Wyeth, "GameFlow: A Model for Evaluating Player Enjoyment in Games", 2005).
  • 신뢰도 A.

🕓 Changelog

날짜 변경
2026-05-08 Phase 1
2026-05-10 Manual cleanup — Csikszentmihalyi flow + game design