<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>수직항력 &#8211; MyEngNote</title>
	<atom:link href="https://myengnote.com/tag/%ec%88%98%ec%a7%81%ed%95%ad%eb%a0%a5/feed/" rel="self" type="application/rss+xml" />
	<link>https://myengnote.com</link>
	<description></description>
	<lastBuildDate>Wed, 08 Jul 2026 04:42:46 +0000</lastBuildDate>
	<language>ko-KR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>마찰력 계산기 &#038; 시뮬레이터</title>
		<link>https://myengnote.com/friction-force-inclined-plane-calculator-simulator/</link>
					<comments>https://myengnote.com/friction-force-inclined-plane-calculator-simulator/#respond</comments>
		
		<dc:creator><![CDATA[동동]]></dc:creator>
		<pubDate>Sun, 31 May 2026 22:03:08 +0000</pubDate>
				<category><![CDATA[공학계산기]]></category>
		<category><![CDATA[경사면미끄럼]]></category>
		<category><![CDATA[수직항력]]></category>
		<category><![CDATA[운동마찰계수]]></category>
		<category><![CDATA[임계각계산]]></category>
		<category><![CDATA[정지마찰계수]]></category>
		<guid isPermaLink="false">https://myengnote.com/friction-force-inclined-plane-calculator-simulator/</guid>

					<description><![CDATA[경사면 위에 가해진 물체의 질량, 경사각, 정지/운동 마찰계수를 조절하여 수직항력 및 슬라이딩 임계점 속도를 계산하고 물체의 미끄러짐 가속 운행을 실시간 시뮬레이션하는 기계공학 계산기입니다.]]></description>
										<content:encoded><![CDATA[
<h2 style="font-size: 1.6em; font-weight: 800; color: #0c0e25; border-bottom: 2px solid #00f2fe; padding-bottom: 8px; margin-bottom: 20px;"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f680.png" alt="🚀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> 마찰력 계산기 &#038; 시뮬레이터</h2>


<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&#038;family=Outfit:wght@400;500;600;700;800&#038;display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* Scoped & Isolated Styles for friction-calculator-wrapper */
        /* Modern Reset and Design Tokens */
        .friction-calculator-wrapper *, .friction-calculator-wrapper *::before, .friction-calculator-wrapper *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        .friction-calculator-wrapper {
            --color-bg-dark: #f8f9fd;
            --color-bg-deep: #ffffff;
            --color-panel-bg: rgba(255, 255, 255, 0.85);
            --color-border: rgba(0, 0, 0, 0.06);
            --color-border-hover: rgba(0, 0, 0, 0.12);
            --color-text-main: #1e293b;
            --color-text-muted: #475569;
            --color-text-dark: #94a3b8;
            --color-cyan: #0284c7; /* Cobalt blue accent */
            --color-cyan-glow: rgba(2, 132, 199, 0.15);
            --color-magenta: #db2777; /* Pink/magenta accent */
            --color-magenta-glow: rgba(219, 39, 119, 0.15);
            --color-purple: #7c3aed;
            --color-purple-glow: rgba(124, 58, 237, 0.12);
            --color-success: #10b981;
            --color-warning: #f59e0b;
            --color-danger: #ef4444;
            --gradient-primary: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple) 100%);
            --gradient-accent: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-purple) 100%);
            --gradient-panel: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
            --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            --shadow-neon-cyan: 0 0 15px var(--color-cyan-glow);
            --shadow-neon-magenta: 0 0 15px var(--color-magenta-glow);
            --shadow-card: 0 8px 32px 0 rgba(15, 23, 42, 0.05);
            --blur-glass: blur(16px);
        }
        .friction-calculator-wrapper {
            background-color: var(--color-bg-dark);
            color: var(--color-text-main);
            font-family: var(--font-body);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            overflow-x: hidden;
            position: relative;
        }
        .app-background-glow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
            pointer-events: none;
        }
        .app-background-glow::before, 
        .app-background-glow::after {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            filter: blur(140px);
            opacity: 0.15;
        }
        .app-background-glow::before {
            background: var(--color-cyan);
            top: -10%;
            right: -5%;
            animation: pulse-slow 15s infinite alternate;
        }
        .app-background-glow::after {
            background: var(--color-purple);
            bottom: -10%;
            left: -5%;
            animation: pulse-slow 20s infinite alternate-reverse;
        }
        @keyframes pulse-slow {
            0% { transform: scale(1) translate(0, 0); opacity: 0.12; }
            100% { transform: scale(1.2) translate(50px, 50px); opacity: 0.22; }
        }
        .app-container {
            width: 100%;
            max-width: 1440px;
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 24px;
        }
        .app-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            background: var(--color-panel-bg);
            backdrop-filter: var(--blur-glass);
            border: 1px solid var(--color-border);
            border-radius: 16px;
            box-shadow: var(--shadow-card);
        }
        .logo-area {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .logo-icon {
            font-size: 32px;
            background: linear-gradient(135deg, var(--color-cyan), var(--color-magenta));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .logo-area h1 {
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 24px;
            letter-spacing: 1.5px;
            background: linear-gradient(90deg, var(--color-text-main), var(--color-text-muted));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .logo-area .subtitle {
            font-size: 12px;
            color: var(--color-text-muted);
            font-weight: 500;
            letter-spacing: 0.5px;
        }
        .fa-spin-slow {
            animation: fa-spin 15s linear infinite;
        }
        .header-badge {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.2);
            padding: 6px 14px;
            border-radius: 20px;
        }
        .pulse-dot {
            width: 8px;
            height: 8px;
            background-color: var(--color-success);
            border-radius: 50%;
            box-shadow: 0 0 10px var(--color-success);
            animation: pulse-dot-anim 1.5s infinite;
        }
        @keyframes pulse-dot-anim {
            0% { transform: scale(0.9); opacity: 0.6; }
            50% { transform: scale(1.2); opacity: 1; }
            100% { transform: scale(0.9); opacity: 0.6; }
        }
        .badge-text {
            font-size: 11px;
            font-weight: 600;
            color: var(--color-success);
            letter-spacing: 0.5px;
        }
        .app-main-grid {
            display: grid;
            grid-template-columns: 340px 1fr 340px;
            gap: 24px;
            align-items: start;
        }
        .panel {
            background: var(--gradient-panel);
            backdrop-filter: var(--blur-glass);
            border: 1px solid var(--color-border);
            border-radius: 20px;
            padding: 24px;
            box-shadow: var(--shadow-card);
            display: flex;
            flex-direction: column;
            gap: 20px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }
        .panel:hover {
            border-color: var(--color-border-hover);
        }
        .panel-header {
            display: flex;
            align-items: center;
            gap: 12px;
            border-bottom: 1px solid var(--color-border);
            padding-bottom: 14px;
        }
        .panel-header i {
            font-size: 18px;
        }
        .panel-header h2 {
            font-family: var(--font-heading);
            font-size: 18px;
            font-weight: 600;
            letter-spacing: 0.5px;
        }
        .text-cyan { color: var(--color-cyan); }
        .text-magenta { color: var(--color-magenta); }
        .text-purple { color: var(--color-purple); }
        .control-panel {
            grid-column: 1;
        }
        .input-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .input-label-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .input-label-row label {
            font-size: 13px;
            font-weight: 600;
            color: var(--color-text-main);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .helper-text {
            font-size: 10px;
            color: var(--color-text-muted);
            font-weight: 500;
        }
                .number-input-wrapper {
            display: flex;
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid var(--color-border);
            background: #ffffff;
            transition: all 0.2s ease;
        }
        .number-input-wrapper:focus-within {
            border-color: var(--color-cyan);
            box-shadow: 0 0 10px var(--color-cyan-glow);
        }
        .number-input-wrapper:focus-within {
            border-color: var(--color-cyan);
            box-shadow: 0 0 10px var(--color-cyan-glow);
        }
                .custom-number-input {
            flex: 1;
            width: 0;
            min-width: 0;
            background: #f8fafc !important;
            border: none !important;
            outline: none !important;
            color: #0f172a !important;
            padding: 10px 14px !important;
            font-family: var(--font-body) !important;
            font-size: 15px !important;
            font-weight: 700 !important;
            text-align: right !important;
            box-shadow: none !important;
            -webkit-appearance: none !important;
            -moz-appearance: textfield !important;
        }
        .custom-number-input::-webkit-outer-spin-button,
        .custom-number-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        .custom-number-input::-webkit-outer-spin-button,
        .custom-number-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
                .unit-badge {
            background: rgba(0, 0, 0, 0.03);
            color: var(--color-text-muted);
            font-size: 11px;
            font-weight: 700;
            padding: 0 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-left: 1px solid var(--color-border);
            pointer-events: none;
            flex-shrink: 0;
        }
        .custom-slider {
            -webkit-appearance: none;
            width: 100%;
            height: 6px;
            border-radius: 3px;
            background: rgba(0, 0, 0, 0.05);
            outline: none;
            margin: 8px 0;
            transition: background 0.2s ease;
        }
        .custom-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            cursor: pointer;
            transition: transform 0.1s ease, box-shadow 0.2s ease;
        }
        #slider-mass::-webkit-slider-thumb { background: var(--color-cyan); box-shadow: 0 0 10px var(--color-cyan); }
        #slider-ang::-webkit-slider-thumb { background: var(--color-magenta); box-shadow: 0 0 10px var(--color-magenta); }
        #slider-mu-s::-webkit-slider-thumb { background: var(--color-purple); box-shadow: 0 0 10px var(--color-purple); }
        .control-actions {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            margin-top: 10px;
        }
        .action-btn {
            background: rgba(0, 0, 0, 0.02);
            border: 1px solid var(--color-border);
            color: var(--color-text-main);
            padding: 12px;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .action-btn:hover {
            background: rgba(0, 0, 0, 0.04);
            border-color: var(--color-border-hover);
        }
        .action-btn.primary-btn {
            background: var(--gradient-primary);
            color: #fff;
            border: none;
            box-shadow: var(--shadow-neon-cyan);
        }
        .action-btn.primary-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 20px rgba(2, 132, 199, 0.4);
        }
        .presets-section {
            display: flex;
            flex-direction: column;
            gap: 12px;
            border-top: 1px solid var(--color-border);
            padding-top: 18px;
        }
        .presets-section h3 {
            font-size: 13px;
            font-weight: 700;
            color: var(--color-text-main);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .presets-grid {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .preset-btn {
            background: rgba(0, 0, 0, 0.015);
            border: 1px solid var(--color-border);
            border-radius: 10px;
            padding: 8px 12px;
            cursor: pointer;
            color: var(--color-text-main);
            display: flex;
            align-items: center;
            gap: 12px;
            text-align: left;
            transition: all 0.2s ease;
        }
        .preset-btn:hover {
            background: rgba(0, 0, 0, 0.05);
            border-color: var(--color-border);
            transform: translateX(4px);
        }
        .preset-btn.active {
            background: linear-gradient(90deg, var(--color-cyan-glow), var(--color-magenta-glow));
            border-color: var(--color-cyan);
            box-shadow: 0 0 10px var(--color-cyan-glow);
        }
        .preset-icon {
            width: 28px;
            height: 28px;
            background: rgba(0, 0, 0, 0.02);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: var(--color-cyan);
        }
        .preset-btn:hover .preset-icon, .preset-btn.active .preset-icon {
            background: var(--gradient-primary);
            color: #fff;
            box-shadow: var(--shadow-neon-cyan);
        }
        .preset-name {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.25px;
        }
        .simulation-panel {
            grid-column: 2;
            align-self: start;
        }
        .canvas-wrapper {
            position: relative;
            width: 100%;
            background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
            border: 1px solid rgba(0, 0, 0, 0.06);
            border-radius: 16px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        #physics-canvas {
            display: block;
            width: 100%;
            height: auto;
            aspect-ratio: 16 / 10;
        }
        .simulation-metrics-strip {
            display: flex;
            background: rgba(0, 0, 0, 0.01);
            border: 1px solid var(--color-border);
            border-radius: 12px;
            padding: 12px 20px;
            justify-content: space-around;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
        }
        .mini-metric {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            text-align: center;
        }
        .mini-metric .label {
            font-size: 10px;
            font-weight: 600;
            color: var(--color-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .mini-metric .value {
            font-size: 14px;
            font-weight: 700;
            color: var(--color-text-main);
            font-family: var(--font-heading);
        }
        .mini-divider {
            width: 1px;
            height: 24px;
            background: rgba(0, 0, 0, 0.03);
        }
        .results-panel {
            grid-column: 3;
        }
        .ratio-readout-box {
            background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(138, 43, 226, 0.03) 100%);
            border: 1px solid rgba(0, 242, 254, 0.25);
            border-radius: 16px;
            padding: 20px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
        }
        .ratio-title {
            font-size: 11px;
            font-weight: 700;
            color: var(--color-cyan);
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        .ratio-value {
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 32px;
            background: linear-gradient(90deg, var(--color-text-main), var(--color-cyan));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .ratio-type {
            font-size: 11px;
            font-weight: 600;
            color: var(--color-text-muted);
        }
        .results-grid {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .result-card {
            background: rgba(255, 255, 255, 0.85);
            box-shadow: 0 2px 8px rgba(0,0,0,0.03);
            border: 1px solid var(--color-border);
            border-radius: 12px;
            padding: 12px 16px;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: all 0.2s ease;
        }
        .result-card:hover {
            transform: translateY(-2px);
            border-color: rgba(0, 242, 254, 0.2);
            background: rgba(0, 242, 254, 0.03);
        }
        .card-icon {
            width: 38px;
            height: 38px;
            background: rgba(0, 0, 0, 0.015);
            border: 1px solid var(--color-border);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            color: var(--color-text-muted);
        }
        .result-card:hover .card-icon {
            color: var(--color-cyan);
            border-color: rgba(0, 242, 254, 0.3);
            background: rgba(0, 242, 254, 0.1);
        }
        .card-content {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .card-unit {
            font-size: 11px;
            font-weight: 600;
            color: var(--color-text-muted);
        }
        .card-value {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 18px;
            color: var(--color-text-main);
        }
        .formula-card {
            background: rgba(0, 0, 0, 0.01);
            border: 1px solid var(--color-border);
            border-radius: 12px;
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            font-size: 12px;
        }
        .formula-card h4 {
            font-weight: 700;
            color: var(--color-text-main);
        }
        .formula-equation {
            font-family: monospace;
            color: var(--color-cyan);
            font-size: 13px;
            background: #f8fafc;
            padding: 6px 10px;
            border-radius: 6px;
            border: 1px solid var(--color-border);
            text-align: center;
        }
        @container friction-container (max-width: 1024px) {
            .app-main-grid {
                grid-template-columns: 1fr;
            }
            .control-panel, .simulation-panel, .results-panel, .results-panel {
                grid-column: 1;
            }
            .simulation-panel {
                order: -1;
            }
        }
        .preset-details {
            display: flex;
            flex-direction: column;
            gap: 2px;
            align-items: flex-start;
            text-align: left;
        }
        .preset-spec {
            font-size: 11px;
            color: var(--color-text-muted);
            font-weight: 500;
        }
        .preset-name {
            font-size: 13px !important;
        }
/* ━━ WordPress 레이아웃 Override: 디자인 1 (2열 컴팩트 대칭 레이아웃) ━━ */
.friction-calculator-wrapper .app-main-grid,
.friction-calculator-wrapper .main-grid,
.friction-calculator-wrapper .sim-grid {
    display: grid !important;
    grid-template-columns: 340px 1fr !important;
    gap: 24px !important;
    align-items: start !important;
}
/* 3열 레이아웃을 2열 레이아웃으로 변경하는 특화 스타일 */
.friction-calculator-wrapper .right-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    min-width: 0 !important;
    grid-column: 2 !important;
}
.friction-calculator-wrapper .simulation-panel,
.friction-calculator-wrapper .canvas-panel,
.friction-calculator-wrapper .sim-panel {
    grid-column: auto !important;
    order: 1 !important;
    align-self: stretch !important;
}
.friction-calculator-wrapper .control-panel {
    grid-column: 1 !important;
}
/* 2열 통합 결과 분석 영역 레이아웃 */
.friction-calculator-wrapper .simulation-results-section {
    display: grid !important;
    grid-template-columns: 1.1fr 1.3fr !important;
    gap: 20px !important;
    border-top: 1px solid var(--color-border) !important;
    padding-top: 20px !important;
    margin-top: 10px !important;
    align-items: stretch !important;
}
/* Readout Box 스타일 */
.friction-calculator-wrapper .simulation-results-section .ratio-readout-box,
.friction-calculator-wrapper .simulation-results-section .re-readout-box,
.friction-calculator-wrapper .simulation-results-section .status-readout-box,
.friction-calculator-wrapper .simulation-results-section .gauge-container {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
.friction-calculator-wrapper .simulation-results-section .results-grid {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    justify-content: flex-start !important;
}
.friction-calculator-wrapper .simulation-results-section .results-grid .result-card {
    flex: none !important;
    display: flex !important;
    align-items: center !important;
    min-height: 72px !important;
    height: auto !important;
    padding: 12px 16px !important;
}
.friction-calculator-wrapper .simulation-results-section .formula-card {
    grid-column: 1 !important;
    grid-row: 2 !important;
}
/* 모바일/반응형 (800px 이하) ── 항상 세로형(1열) 정렬 및 시뮬레이터 캔버스 최상단 배치 */
@media (max-width: 800px) {
    .friction-calculator-wrapper .app-main-grid,
    .friction-calculator-wrapper .main-grid,
    .friction-calculator-wrapper .sim-grid {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .friction-calculator-wrapper .control-panel {
        order: 2 !important;
        width: 100% !important;
    }
    .friction-calculator-wrapper .right-column {
        order: 1 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .friction-calculator-wrapper .simulation-panel,
    .friction-calculator-wrapper .canvas-panel,
    .friction-calculator-wrapper .sim-panel,
    .friction-calculator-wrapper .canvas-section {
        order: -1 !important;
    }
    .friction-calculator-wrapper .simulation-results-section {
        grid-template-columns: 1fr !important;
    }
    .friction-calculator-wrapper .simulation-results-section .ratio-readout-box,
    .friction-calculator-wrapper .simulation-results-section .re-readout-box,
    .friction-calculator-wrapper .simulation-results-section .status-readout-box,
    .friction-calculator-wrapper .simulation-results-section .gauge-container {
        grid-column: 1 !important;
        grid-row: auto !important;
        height: auto !important;
    }
    .friction-calculator-wrapper .simulation-results-section .results-grid {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    .friction-calculator-wrapper .simulation-results-section .formula-card {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}
.friction-calculator-wrapper .app-container,
.friction-calculator-wrapper .main-container {
    max-width: 100% !important;
    padding: 12px !important;
}
/* Premium Advice/Formula Card & Typography Overrides */
.friction-calculator-wrapper .simulation-results-section .formula-card,
.friction-calculator-wrapper .results-panel .formula-card {
    background: #ffffff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    box-shadow: var(--shadow-card) !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.friction-calculator-wrapper .simulation-results-section .formula-card h4,
.friction-calculator-wrapper .results-panel .formula-card h4 {
    font-weight: 700 !important;
    color: var(--color-text-main) !important;
}
.friction-calculator-wrapper #text-judgment {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--color-text-muted) !important;
    line-height: 1.6 !important;
    word-break: keep-all !important;
}
</style>
<div class="friction-calculator-wrapper" style="position: relative; width: 100%; box-sizing: border-box; overflow: hidden; margin: 30px auto; border-radius: 20px;">
    <div class="app-background-glow" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: hidden;"></div>
    <div style="position: relative; z-index: 2; width: 100%;">
    <div class="app-container">
        <!-- Header -->
        <header class="app-header">
            <div class="logo-area">
                <div class="logo-icon"><i class="fa-solid fa-person-sliding fa-spin-slow text-cyan"></i></div>
                <div>
                    <h1>FRICTION FORCE</h1>
                    <div class="subtitle">경사면 마찰 임계각 계산 &#038; 거동 시뮬레이터</div>
                </div>
            </div>
            <div class="header-badge">
                <div class="pulse-dot"></div>
                <div class="badge-text">빗면 벡터 엔진 구동 중</div>
            </div>
        </header>
        <!-- Main Layout Grid -->
        <main class="app-main-grid">
            <!-- Left Panel: Controls -->
            <section class="panel control-panel">
                <div class="panel-header">
                    <i class="fa-solid fa-sliders text-cyan"></i>
                    <h2>경사 및 마찰 계수 설정</h2>
                </div>
                <!-- Object Mass (kg) -->
                <div class="input-group">
                    <div class="input-label-row">
                        <label><i class="fa-solid fa-weight-hanging text-cyan"></i> 물체 질량 (M)</label>
                        <span class="helper-text">(1.0 ~ 50.0 kg)</span>
                    </div>
                    <div class="number-input-wrapper">
                        <input type="number" id="input-mass" class="custom-number-input" min="1.0" max="50.0" step="0.5" value="10.0">
                        <div class="unit-badge">kg</div>
                    </div>
                    <input type="range" id="slider-mass" class="custom-slider" min="10" max="500" step="5" value="100">
                </div>
                <!-- Inclination Angle (theta) -->
                <div class="input-group">
                    <div class="input-label-row">
                        <label><i class="fa-solid fa-compass text-magenta"></i> 경사 사면 각도 (θ)</label>
                        <span class="helper-text">(0 ~ 60 deg)</span>
                    </div>
                    <div class="number-input-wrapper">
                        <input type="number" id="input-ang" class="custom-number-input" min="0" max="60" value="15">
                        <div class="unit-badge">deg</div>
                    </div>
                    <input type="range" id="slider-ang" class="custom-slider" min="0" max="60" step="1" value="15">
                </div>
                <!-- Static Friction Coeff (mu-s) -->
                <div class="input-group">
                    <div class="input-label-row">
                        <label><i class="fa-solid fa-shield text-purple"></i> 정지 마찰 계수 (μ_s)</label>
                        <span class="helper-text">(0.10 ~ 0.90)</span>
                    </div>
                    <div class="number-input-wrapper">
                        <input type="number" id="input-mu-s" class="custom-number-input" min="0.10" max="0.90" step="0.01" value="0.50">
                        <div class="unit-badge">μ_s</div>
                    </div>
                    <input type="range" id="slider-mu-s" class="custom-slider" min="10" max="90" step="1" value="50">
                </div>
                <!-- Kinetic Friction Coeff (mu-k) -->
                <div class="input-group">
                    <div class="input-label-row">
                        <label><i class="fa-solid fa-snowflake"></i> 운동 마찰 계수 (μ_k)</label>
                        <span class="helper-text">(0.05 ~ 0.80)</span>
                    </div>
                    <div class="number-input-wrapper">
                        <input type="number" id="input-mu-k" class="custom-number-input" min="0.05" max="0.80" step="0.01" value="0.35">
                        <div class="unit-badge">μ_k</div>
                    </div>
                </div>
                <!-- Action buttons -->
                <div class="control-actions">
                    <button id="btn-reset" class="action-btn primary-btn"><i class="fa-solid fa-rotate-left"></i> 블록 위치 초기화</button>
                </div>
                <!-- Presets -->
                <div class="presets-section">
                    <h3><i class="fa-solid fa-tags text-cyan"></i> 접촉 매질 프리셋</h3>
                    <div class="presets-grid">
                        <button class="preset-btn" data-preset="wood">
                            <div class="preset-icon"><i class="fa-solid fa-box"></i></div>
                            <div class="preset-details"><span class="preset-name">나무 슬라이더<br><span style="font-size: 10.5px; color: var(--color-text-muted); font-weight: 500;">(10kg, μs=0.50, μk=0.35)</span></div>
                        </button>
                        <button class="preset-btn" data-preset="ice">
                            <div class="preset-icon"><i class="fa-solid fa-icicles"></i></div>
                            <div class="preset-name">얼음판 위 슬라이드<br><span style="font-size: 10.5px; color: var(--color-text-muted); font-weight: 500;">(5kg, μs=0.12, μk=0.08)</span></div>
                        </button>
                        <button class="preset-btn" data-preset="rubber">
                            <div class="preset-icon"><i class="fa-solid fa-shoe-prints"></i></div>
                            <div class="preset-name">고무 타이어 빗면<br><span style="font-size: 10.5px; color: var(--color-text-muted); font-weight: 500;">(20kg, μs=0.80, μk=0.60)</span></div>
                        </button>
                    </div>
                </div>
            </section>
            <!-- Auto Injected Right Column wrapper for Design 1 -->
            <div class="right-column">
                <section class="panel simulation-panel">
                                <div class="panel-header">
                                    <div style="display: flex; align-items: center; gap: 12px;">
                                        <i class="fa-solid fa-circle-nodes text-cyan"></i>
                                        <h2>경사 빗면 힘 벡터 시각화 및 실시간 미끄러짐</h2>
                                    </div>
                                    <div id="txt-slipping-status" class="canvas-scale-indicator text-cyan">마찰 유지 정지</div>
                                </div>
                                <div class="canvas-wrapper">
                                    <canvas id="physics-canvas"></canvas>
                                </div>
                                <!-- Mini Metrics -->
                                <div class="simulation-metrics-strip">
                                    <div class="mini-metric">
                                        <div class="label">슬라이딩 가속도</div>
                                        <div id="txt-live-acc" class="value">0.00 m/s²</div>
                                    </div>
                                    <div class="mini-divider"></div>
                                    <div class="mini-metric">
                                        <div class="label">현재 실시간 마찰력</div>
                                        <div id="txt-live-friction" class="value">0.0 N</div>
                                    </div>
                                </div>
                                <!-- Integrated Results Analysis Section -->
                            <div class="simulation-results-section">
                                <div class="ratio-readout-box">
                                    <div class="ratio-title">임계 미끄러짐 발생 경사 한계각</div>
                                    <div id="txt-critical-angle" class="ratio-value">26.6°</div>
                                    <div id="txt-slip-criterion" class="ratio-type"></span><span class="preset-spec">현재 사면 상태: 안전 정지</span></div>
                                </div>
                                <div class="results-grid">
                                        <div class="result-card">
                                        <div class="card-icon"><i class="fa-solid fa-arrow-down-wide-short text-cyan"></i></div>
                                        <div class="card-content">
                                            <span class="card-unit">경사면 빗면 수직항력 (Fn)</span>
                                            <span id="txt-fn-out" class="card-value">94.7 N</span>
                                        </div>
                                    </div>
                                        <div class="result-card">
                                        <div class="card-icon"><i class="fa-solid fa-share text-magenta"></i></div>
                                        <div class="card-content">
                                            <span class="card-unit">빗면 하향 구동 중력 (F_para)</span>
                                            <span id="txt-fpara-out" class="card-value">25.4 N</span>
                                        </div>
                                    </div>
                                        <div class="result-card">
                                        <div class="card-icon"><i class="fa-solid fa-lock text-purple"></i></div>
                                        <div class="card-content">
                                            <span class="card-unit">최대 정지 마찰 한계 (Fs_max)</span>
                                            <span id="txt-fsmax-out" class="card-value">47.3 N</span>
                                        </div>
                                    </div>
                                    </div>
                                <div class="formula-card"
                                    <h4>빗면 쿨롱 마찰 역학 공식</h4>
                                    <div class="formula-equation">F_n = M × g × cosθ [N]</div>
                                    <div class="formula-equation">F_para = M × g × sinθ [N]</div>
                                </div>
                            </div>
                </section>
            </div>
            <!-- Right Panel: Quantitative Results -->
        </main>
        <!-- Disclaimer Footer -->
        <footer class="app-disclaimer" style="margin-top: 20px; padding: 12px 16px; background: rgba(0, 0, 0, 0.015); border: 1px solid var(--color-border); border-radius: 12px; font-size: 11px; color: var(--color-text-muted); line-height: 1.5; text-align: left; display: flex; gap: 10px; align-items: flex-start; clear: both;">
            <i class="fa-solid fa-circle-info" style="color: var(--color-cyan); font-size: 14px; margin-top: 2px; flex-shrink: 0;"></i>
            <span><strong>면책 조항 (Disclaimer):</strong> 본 시뮬레이터의 계산 결과는 교육 및 참고용으로만 제공되며, 실제 제품 설계나 제작 시에는 반드시 최신 공학 규격 및 공식 표준 설계 기준을 재확인하시기 바랍니다. 계산 값의 무결성을 보장하지 않으며, 이로 인해 발생하는 직접적/간접적 손해에 대해 제작자 및 본 블로그는 어떠한 책임을 지지 않습니다.</span>
        </footer>
</div>
    <!-- JavaScript Circuit Simulation Engine -->
    </div>
</div>
<script>
        (function() {
        let isInit = false;
        function initSimulator() {
            if (isInit) return;
            const canvas = document.getElementById('physics-canvas');
            if (!canvas) return;
            const ctx = canvas.getContext('2d');
            if (!ctx) return;
            isInit = true;
            window.__friction_initialized = true;
            // DOM Elements
            const sliderMass = document.getElementById('slider-mass');
            const inputMass = document.getElementById('input-mass');
            const sliderAng = document.getElementById('slider-ang');
            const inputAng = document.getElementById('input-ang');
            const sliderMuS = document.getElementById('slider-mu-s');
            const inputMuS = document.getElementById('input-mu-s');
            const inputMuK = document.getElementById('input-mu-k');
            const btnReset = document.getElementById('btn-reset');
            const presetButtons = document.querySelectorAll('.preset-btn');
            const txtCriticalAngle = document.getElementById('txt-critical-angle');
            const txtSlipCriterion = document.getElementById('txt-slip-criterion');
            const txtFnOut = document.getElementById('txt-fn-out');
            const txtFparaOut = document.getElementById('txt-fpara-out');
            const txtFsmaxOut = document.getElementById('txt-fsmax-out');
            const txtSlippingStatus = document.getElementById('txt-slipping-status');
            const txtLiveAcc = document.getElementById('txt-live-acc');
            const txtLiveFriction = document.getElementById('txt-live-friction');
            // State variables
            const state = {
                mass: 10.0, // kg
                ang: 15.0, // deg
                muS: 0.50,
                muK: 0.35,
                // Sliding dynamic physics variables
                slidePos: 0.0, // distance from ramp peak (starts at 0, max 280)
                slideVel: 0.0, // m/s
                isSliding: false,
                lastTime: 0
            };
            function resizeCanvas() {
                const rect = canvas.getBoundingClientRect();
                const dpr = window.devicePixelRatio || 1;
                canvas.width = rect.width * dpr;
                canvas.height = rect.height * dpr;
                ctx.scale(dpr, dpr);
            }
            resizeCanvas();
            window.addEventListener('resize', resizeCanvas);
            setTimeout(resizeCanvas, 300);
            // Sync Inputs
            function syncMassFromSlider() {
                const val = parseFloat(sliderMass.value) / 10.0;
                inputMass.value = val.toFixed(1);
                state.mass = val;
                clearPresets();
                updateCalculations();
            }
            function syncMassFromInput() {
                let val = parseFloat(inputMass.value);
                if (isNaN(val)) { val = 1.0; }
                if (val < 1.0) { val = 1.0; }
                if (val > 50.0) { val = 50.0; }
                sliderMass.value = Math.round(val * 10);
                state.mass = val;
                clearPresets();
                updateCalculations();
            }
            function syncAngFromSlider() {
                const val = parseInt(sliderAng.value);
                inputAng.value = val;
                state.ang = val;
                clearPresets();
                updateCalculations();
            }
            function syncAngFromInput() {
                let val = parseInt(inputAng.value);
                if (isNaN(val)) { val = 0; }
                if (val < 0) { val = 0; }
                if (val > 60) { val = 60; }
                sliderAng.value = val;
                state.ang = val;
                clearPresets();
                updateCalculations();
            }
            function syncMuSFromSlider() {
                const val = parseFloat(sliderMuS.value) / 100.0;
                inputMuS.value = val.toFixed(2);
                state.muS = val;
                // clamp muK
                if (state.muK > state.muS) {
                    state.muK = state.muS;
                    inputMuK.value = state.muK.toFixed(2);
                }
                clearPresets();
                updateCalculations();
            }
            function syncMuSFromInput() {
                let val = parseFloat(inputMuS.value);
                if (isNaN(val)) { val = 0.10; }
                if (val < 0.10) { val = 0.10; }
                if (val > 0.90) { val = 0.90; }
                sliderMuS.value = Math.round(val * 100);
                state.muS = val;
                if (state.muK > state.muS) {
                    state.muK = state.muS;
                    inputMuK.value = state.muK.toFixed(2);
                }
                clearPresets();
                updateCalculations();
            }
            // Calculations
            function updateCalculations() {
                const g = 9.81;
                const rad = (state.ang * Math.PI) / 180.0;
                // 1. Forces projection
                const fn = state.mass * g * Math.cos(rad);
                const fpara = state.mass * g * Math.sin(rad);
                const fsmax = state.muS * fn;
                // Critical slip angle: tan(theta_crit) = muS -> theta_crit = atan(muS)
                const critRad = Math.atan(state.muS);
                const critDeg = (critRad * 180.0) / Math.PI;
                txtCriticalAngle.innerText = critDeg.toFixed(1) + '°';
                // Slip criterion check
                // tan(theta) > muS
                if (Math.tan(rad) > state.muS) {
                    txtSlippingStatus.innerText = '미끄러짐 발생! (SLIDING)';
                    txtSlippingStatus.style.color = '#db2777';
                    txtSlipCriterion.innerText = '(정지 마찰 한계 초과 슬립)';
                    txtSlipCriterion.style.color = '#db2777';
                    state.isSliding = true;
                } else {
                    txtSlippingStatus.innerText = '마찰 유지 정적 정지';
                    txtSlippingStatus.style.color = '#10b981';
                    txtSlipCriterion.innerText = '(사면 하향 구동력 < Fs_max)';
                    txtSlipCriterion.style.color = '#10b981';
                    // If not sliding, reset position
                    if (!state.isSliding) {
                        state.slidePos = 0.0;
                        state.slideVel = 0.0;
                    }
                }
                txtFnOut.innerText = fn.toFixed(1) + ' N';
                txtFparaOut.innerText = fpara.toFixed(1) + ' N';
                txtFsmaxOut.innerText = fsmax.toFixed(1) + ' N';
            }
            // Presets
            function loadPreset(key) {
                clearPresets();
                presetButtons.forEach(btn => {
                    if (btn.dataset.preset === key) {
                        btn.classList.add('active');
                    }
                });
                if (key === 'wood') {
                    state.mass = 10;
                    state.ang = 15;
                    state.muS = 0.50;
                    state.muK = 0.35;
                }
                if (key === 'ice') {
                    state.mass = 5;
                    state.ang = 8;
                    state.muS = 0.12;
                    state.muK = 0.08;
                }
                if (key === 'rubber') {
                    state.mass = 20;
                    state.ang = 32;
                    state.muS = 0.80;
                    state.muK = 0.60;
                }
                // Sync elements
                inputMass.value = state.mass.toFixed(1);
                sliderMass.value = Math.round(state.mass * 10);
                inputAng.value = state.ang;
                sliderAng.value = state.ang;
                inputMuS.value = state.muS.toFixed(2);
                sliderMuS.value = Math.round(state.muS * 100);
                inputMuK.value = state.muK.toFixed(2);
                state.slidePos = 0.0;
                state.slideVel = 0.0;
                state.isSliding = false;
                updateCalculations();
            }
            function clearPresets() {
                presetButtons.forEach(btn => btn.classList.remove('active'));
            }
            btnReset.addEventListener('click', () => {
                state.slidePos = 0.0;
                state.slideVel = 0.0;
                state.isSliding = false;
                txtSlippingStatus.innerText = "블록 초기화";
                txtSlippingStatus.style.color = "var(--color-cyan)";
                updateCalculations();
            });
            // Bind Event Listeners
            sliderMass.addEventListener('input', syncMassFromSlider);
            inputMass.addEventListener('change', syncMassFromInput);
            sliderAng.addEventListener('input', syncAngFromSlider);
            inputAng.addEventListener('change', syncAngFromInput);
            sliderMuS.addEventListener('input', syncMuSFromSlider);
            inputMuS.addEventListener('change', syncMuSFromInput);
            inputMuK.addEventListener('change', () => {
                let val = parseFloat(inputMuK.value);
                if (isNaN(val)) { val = 0.05; }
                if (val < 0.05) { val = 0.05; }
                if (val > 0.80) { val = 0.80; }
                if (val > state.muS) {
                    val = state.muS;
                }
                inputMuK.value = val.toFixed(2);
                state.muK = val;
                clearPresets();
                updateCalculations();
            });
            presetButtons.forEach(btn => {
                btn.addEventListener('click', () => {
                    loadPreset(btn.dataset.preset);
                });
            });
            // Animation Loop
            function animate(currentTime) {
                requestAnimationFrame(animate);
                let dt = (currentTime - state.lastTime) / 1000;
                if (isNaN(dt)) { dt = 0.016; }
                if (dt < 0) { dt = 0.016; }
                if (dt > 1.0) { dt = 0.016; }
                state.lastTime = currentTime;
                const width = canvas.width / (window.devicePixelRatio || 1);
                const height = canvas.height / (window.devicePixelRatio || 1);
                ctx.clearRect(0, 0, width, height);
                // Draw blueprint grid
                ctx.save();
                ctx.strokeStyle = 'rgba(2, 132, 199, 0.06)';
                ctx.lineWidth = 1;
                const gridSpacing = 25;
                for (let x = 0; x < width; x += gridSpacing) {
                    ctx.beginPath();
                    ctx.moveTo(x, 0);
                    ctx.lineTo(x, height);
                    ctx.stroke();
                }
                for (let y = 0; y < height; y += gridSpacing) {
                    ctx.beginPath();
                    ctx.moveTo(0, y);
                    ctx.lineTo(width, y);
                    ctx.stroke();
                }
                ctx.restore();
                // Core Physics calculations &#038; Responsive Kinematics (Golden Centering Kinematics)
                const g = 9.81;
                const rad = (state.ang * Math.PI) / 180.0;
                const fn = state.mass * g * Math.cos(rad);
                const fpara = state.mass * g * Math.sin(rad);
                const fsmax = state.muS * fn;
                // 캔버스 정중앙 밸런스를 보장하는 반응형 빗면 설계 (수학적 가로 정렬 &#038; 세로 여유공간 확보)
                const rampLength = Math.min(width * 0.48, 290);
                const rampOx = width / 2 + 50 + (rampLength * Math.cos(rad)) / 2;
                const rampOy = height - 80; // 빗면을 위로 올려 세로 중심 배치 및 중력 화살표 안착 공간 확보
                const maxRampTravel = rampLength - 75;
                let frictionForce = 0.0;
                let acc = 0.0;
                if (state.isSliding) {
                    // Kinetic state sliding
                    frictionForce = state.muK * fn;
                    // net acceleration along slope = g * (sin(theta) - mu_k * cos(theta))
                    acc = g * (Math.sin(rad) - state.muK * Math.cos(rad));
                    if (acc < 0) {
                        acc = 0.0;
                    }
                    // Euler integration of block displacement down ramp
                    state.slideVel += acc * dt;
                    state.slidePos += state.slideVel * 45.0 * dt; // scale factor to fit screen pixels
                    // clamp position to bottom of ramp
                    if (state.slidePos >= maxRampTravel) {
                        state.slidePos = maxRampTravel;
                        state.slideVel = 0.0;
                        acc = 0.0;
                    }
                    txtLiveAcc.innerText = acc.toFixed(2) + " m/s²";
                    txtLiveFriction.innerText = frictionForce.toFixed(1) + " N";
                } else {
                    // Static resting state
                    frictionForce = fpara; // static friction exactly matches parallel force up to maximum fs_max
                    acc = 0.0;
                    txtLiveAcc.innerText = "0.00 m/s²";
                    txtLiveFriction.innerText = frictionForce.toFixed(1) + " N";
                }
                // Draw inclined ramp
                // Ramp endpoint coordinates based on inclination angle
                const rampEx = rampOx - rampLength * Math.cos(rad);
                const rampEy = rampOy - rampLength * Math.sin(rad);
                ctx.save();
                // Draw Ramp base block triangle
                ctx.fillStyle = "rgba(0, 0, 0, 0.02)";
                ctx.strokeStyle = "#475569";
                ctx.lineWidth = 4;
                ctx.beginPath();
                ctx.moveTo(rampEx, rampOy); // ground level horizontal start
                ctx.lineTo(rampOx, rampOy);
                ctx.lineTo(rampEx, rampEy);
                ctx.closePath();
                ctx.fill();
                ctx.stroke();
                // Draw ramp pivot circle
                ctx.fillStyle = "#e2e8f0";
                ctx.strokeStyle = "#334155";
                ctx.lineWidth = 2.5;
                ctx.beginPath();
                ctx.arc(rampOx, rampOy, 6, 0, Math.PI * 2);
                ctx.fill();
                ctx.stroke();
                ctx.restore();
                // Draw Block sitting along the ramp
                // Block starts at upper ramp position (rampEx, rampEy) and slides towards (rampOx, rampOy)
                // Block offset vector along ramp slope
                const offsetDistance = 40.0 + state.slidePos;
                const bx = rampEx + offsetDistance * Math.cos(rad);
                const by = rampEy + offsetDistance * Math.sin(rad);
                const blockW = 44;
                const blockH = 28;
                ctx.save();
                // Align drawing context to ramp slope angle
                ctx.translate(bx, by);
                ctx.rotate(rad);
                // Draw sliding block
                ctx.fillStyle = "#ffffff";
                ctx.strokeStyle = "#0284c7";
                ctx.lineWidth = 3.5;
                ctx.beginPath();
                ctx.rect(-blockW / 2, -blockH, blockW, blockH);
                ctx.fill();
                ctx.stroke();
                // Draw mass label
                ctx.fillStyle = "#0f172a";
                ctx.font = "bold 9px Outfit, sans-serif";
                ctx.textAlign = "center";
                ctx.fillText(state.mass.toFixed(1) + "kg", 0, -blockH / 2 + 3);
                ctx.restore();
                // Draw Vector Force arrows centered on the block
                // Center of block in global space
                // Center = bx + normal offset
                const vecCx = bx - (blockH / 2) * Math.sin(rad);
                const vecCy = by + (blockH / 2) * Math.cos(rad);
                const vectorScale = 1.6; // scale N to pixels
                ctx.save();
                // 1. Gravity Force vector (Straight down) - Purple
                const wForce = state.mass * g;
                ctx.strokeStyle = "#7c3aed";
                ctx.lineWidth = 3;
                ctx.beginPath();
                ctx.moveTo(vecCx, vecCy);
                ctx.lineTo(vecCx, vecCy + wForce * vectorScale);
                ctx.stroke();
                // arrow head down
                ctx.fillStyle = "#7c3aed";
                ctx.beginPath();
                ctx.moveTo(vecCx - 4, vecCy + wForce * vectorScale - 6);
                ctx.lineTo(vecCx + 4, vecCy + wForce * vectorScale - 6);
                ctx.lineTo(vecCx, vecCy + wForce * vectorScale);
                ctx.closePath();
                ctx.fill();
                // 2. Normal Force perpendicular to slope - Cyan
                // vector angles up-left (rad - PI/2)
                const fnX = -fn * Math.sin(rad);
                const fnY = fn * Math.cos(rad);
                ctx.strokeStyle = "#0284c7";
                ctx.lineWidth = 3;
                ctx.beginPath();
                ctx.moveTo(vecCx, vecCy);
                ctx.lineTo(vecCx + fnX * vectorScale, vecCy - fnY * vectorScale);
                ctx.stroke();
                ctx.fillStyle = "#0284c7";
                ctx.beginPath();
                ctx.moveTo(vecCx + fnX * vectorScale - 4 * Math.cos(rad), vecCy - fnY * vectorScale - 4 * Math.sin(rad));
                ctx.lineTo(vecCx + fnX * vectorScale + 4 * Math.cos(rad), vecCy - fnY * vectorScale + 4 * Math.sin(rad));
                ctx.lineTo(vecCx + fnX * vectorScale, vecCy - fnY * vectorScale);
                ctx.closePath();
                ctx.fill();
                // 3. Friction Force opposing movement (Up-Left along slope) - Green
                const ffX = -frictionForce * Math.cos(rad);
                const ffY = -frictionForce * Math.sin(rad);
                ctx.strokeStyle = "#10b981";
                ctx.lineWidth = 3;
                ctx.beginPath();
                ctx.moveTo(vecCx, vecCy);
                ctx.lineTo(vecCx + ffX * vectorScale, vecCy + ffY * vectorScale);
                ctx.stroke();
                ctx.restore();
                // F. 2D plot in top-left plotting Static-Kinetic friction curve (Relocated to top-left & Solid background)
                ctx.save();
                const plotW = 190;
                const plotH = 105;
                const plotX = 15;
                const plotY = 15; // 바짝 위로 밀착!
                // 완전 불투명(rgba alpha=1.0)으로 채워서 뒷배경의 복잡한 물리선과 겹쳐도 완벽히 가림
                ctx.fillStyle = "rgba(255, 255, 255, 1.0)";
                ctx.strokeStyle = "rgba(0, 0, 0, 0.08)";
                ctx.lineWidth = 1.5;
                ctx.beginPath();
                ctx.rect(plotX, plotY, plotW, plotH);
                ctx.fill();
                ctx.stroke();
                // Plot ideal static-to-kinetic peak drop profile (Enlarged and scaled proportionally)
                ctx.strokeStyle = "#db2777";
                ctx.lineWidth = 2.5;
                ctx.beginPath();
                const slipPtX = plotX + 15 + (plotW - 30) * 0.6;
                const peakY = plotY + plotH - 85;
                const kineticY = plotY + plotH - 58;
                const bottomY = plotY + plotH - 15;
                ctx.moveTo(plotX + 15, bottomY);
                ctx.lineTo(slipPtX, peakY);
                // Part B: instant drop to kinetic
                ctx.lineTo(slipPtX, kineticY);
                // Part C: horizontal kinetic line
                ctx.lineTo(plotX + plotW - 15, kineticY);
                ctx.stroke();
                // Red indicator dot representing where the current block state lies
                // Correctly mapped based on actual physical force ratios (fpara vs fsmax) and sliding displacement
                let dotX = plotX + 15;
                let dotY = bottomY;
                if (!state.isSliding) {
                    // 1. Static state: smooth climb proportional to Applied Parallel Force / Maximum Static Friction Limit
                    const staticRatio = Math.min(fpara / fsmax, 1.0);
                    dotX = plotX + 15 + staticRatio * (slipPtX - (plotX + 15));
                    dotY = bottomY - staticRatio * (bottomY - peakY);
                } else {
                    // 2. Kinetic state: smooth slide along the horizontal kinetic line, synchronized with actual block displacement
                    const travelRatio = Math.min(state.slidePos / maxRampTravel, 1.0);
                    dotX = slipPtX + travelRatio * ((plotX + plotW - 15) - slipPtX);
                    dotY = kineticY;
                }
                ctx.save();
                ctx.fillStyle = "#db2777";
                ctx.strokeStyle = "#ffffff";
                ctx.lineWidth = 2.0;
                ctx.shadowBlur = 8;
                ctx.shadowColor = "rgba(219, 39, 119, 0.7)";
                ctx.beginPath();
                ctx.arc(dotX, dotY, 7.5, 0, Math.PI * 2);
                ctx.fill();
                ctx.stroke();
                ctx.restore();
                ctx.fillStyle = "#1e293b";
                ctx.font = "bold 9.5px Inter, sans-serif";
                ctx.fillText("마찰 천이 궤적 (Fs → Fk)", plotX + 10, plotY + 16);
                ctx.restore();
            }
            // Sync preset and run initial calculations
            loadPreset('wood');
            requestAnimationFrame(animate);
            // Right-click & Keyboard shortcuts block
            document.addEventListener('contextmenu', function(e) {
                e.preventDefault();
                alert("이 콘텐츠는 저작권법의 보호를 받습니다. 무단 복제 및 우클릭을 금지합니다.");
                return false;
            }, { capture: true });
            document.addEventListener('selectstart', function(e) {
                e.preventDefault();
                return false;
            }, { capture: true });
            document.addEventListener('keydown', function(e) {
                if (e.key === 'F12') {
                    e.preventDefault();
                    alert("이 콘텐츠는 저작권법의 보호를 받습니다. 무단 복제 및 우클릭을 금지합니다.");
                    return false;
                }
                if (e.ctrlKey) {
                    if (e.key === 'u' || e.key === 'c' || e.key === 's' || e.key === 'U' || e.key === 'C' || e.key === 'S') {
                        e.preventDefault();
                        alert("이 콘텐츠는 저작권법의 보호를 받습니다. 무단 복제 및 우클릭을 금지합니다.");
                        return false;
                    }
                    if (e.shiftKey) {
                        if (['i','I','j','J','c','C'].includes(e.key)) {
                            e.preventDefault();
                            alert("이 콘텐츠는 저작권법의 보호를 받습니다. 무단 복제 및 우클릭을 금지합니다.");
                            return false;
                        }
                    }
                }
            }, { capture: true });
        }
        let initAttempts = 0;
        function tryInit() {
            initAttempts++;
            initSimulator();
            if (!window.__friction_initialized) {
                if (initAttempts < 50) {
                    setTimeout(tryInit, 100);
                }
            }
        }
        if (document.readyState === 'complete' || document.readyState === 'interactive') {
            tryInit();
        } else {
            document.addEventListener('DOMContentLoaded', tryInit);
            window.addEventListener('load', tryInit);
        }
        })();
</script>


<div style="background: linear-gradient(135deg, rgba(0,242,254,0.03), rgba(138,43,226,0.03)); border: 1px solid rgba(0,242,254,0.15); border-radius: 12px; padding: 18px 24px; margin: 25px auto 35px auto; font-size: 0.95em; color: #4b5563; line-height: 1.7; font-family: sans-serif;">
    <strong style="color: #1f2937; font-size: 1.05em; display: flex; align-items: center; gap: 8px;">
        <span style="font-size: 1.2em;"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4a1.png" alt="💡" class="wp-smiley" style="height: 1em; max-height: 1em;" /></span> 간편 사용 설명서
    </strong>
    <ol style="margin: 10px 0 0 0; padding-left: 20px;">
        <li style="margin-bottom: 6px;"><strong>물체 질량 및 각도 조절: 경사면 위 물체의 질량(kg)과 사면의 경사각(Degree)을 슬라이더로 조절합니다.</strong></li>
<li style="margin-bottom: 6px;">마찰 계수(스태틱 & 키네틱) 정의: 물체와 경사면 도포면 간의 최대정지마찰계수(μs) 및 운동마찰계(μk)를 입력합니다. (단, μs ≥ μk)</li>
<li style="margin-bottom: 6px;">실시간 임계 미끄러짐 판정: 경사각 θ가 임계 미끄럼 한계각(tanθ > μs)을 초과하는 즉시 물체가 아래로 중력 미끄러짐(가속 운동)하는 반응을 모니터링합니다.</li>
<li style="margin-bottom: 6px;">힘 벡터 분석: 수직항력, 중력분해력, 정지마찰력 힘의 방향성과 실시간 마찰 특성 궤적 그래프를 관찰합니다.</li>
    </ol>
</div>


<details class="premium-seo-accordion" style="border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; background: #fbfbfc; padding: 0; margin: 30px auto; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01); font-family: sans-serif;">
    <summary style="display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; font-size: 1.1em; font-weight: 700; color: #1f2937; cursor: pointer; user-select: none; outline: none; list-style: none;">
        <span><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4da.png" alt="📚" class="wp-smiley" style="height: 1em; max-height: 1em;" /> 상세 경사면 마찰 역학 물리 공식 해설</span>
        <span class="accordion-arrow" style="font-size: 0.9em; color: #9ca3af; transition: transform 0.2s ease;">▼</span>
    </summary>
    <div style="padding: 0 24px 24px 24px; border-top: 1px solid rgba(0,0,0,0.04); background: #ffffff; border-radius: 0 0 12px 12px; font-size: 0.98em; color: #374151; line-height: 1.8;">
        <div style="margin-top: 20px;">
            <h3>1. 마찰력(Friction Force)의 기계물리학적 정체와 쿨롱 마찰법칙</h3>
<p>두 물체의 접촉면에서 운동을 방해하는 방향으로 작용하는 마찰력은 프랑스 물리학자 쿨롱(Coulomb)의 마찰 법칙에 따라 수직항력(Normal Force)에 정비례하며 다음과 같이 두 상태로 엄격히 구분됩니다.</p><ul><li><strong>최대 정지 마찰력 (Maximum Static Friction, Fs):</strong> 정적 상태에 있는 물체를 움직이기 시작할 때 요구되는 문턱값입니다. <code>Fs_max = &mu;s &times; Fn</code></li><li><strong>운동 마찰력 (Kinetic Friction, Fk):</strong> 물체가 이미 상대 이동을 시작하여 슬라이딩 중일 때 저항하는 일정 힘입니다. 일반적으로 도체의 미시적 돌기 변형이 감소하므로 <code>&mu;k < &mu;s</code>의 관계가 성립합니다. <code>Fk = &mu;k &times; Fn</code></li></ul>
<h3>2. inclined 경사면 위의 힘의 분해 공식</h3>
<p>각도 <code>&theta;</code>만큼 기울어진 빗면 위의 질량 <code>m</code>인 물체에 작용하는 뉴턴 역학 벡터 분해 공식은 다음과 같습니다.</p><p><strong>① 빗면 수직항력 (Normal Force, Fn):</strong> 중력이 빗면과 수직하게 면을 누르는 힘의 평형 성분입니다.</p><p style="text-align: center; font-weight: bold; background: #f3f4f6; padding: 12px; border-radius: 8px;">F_n = m &times; g &times; cos(&theta;) &nbsp;[N]</p><p><strong>② 빗면 하향 구동력 (Parallel Gravity Force, F_para):</strong> 중력이 물체를 빗면 밑으로 미끄러뜨리려 당기는 유효 성분입니다.</p><p style="text-align: center; font-weight: bold; background: #e0f2fe; padding: 12px; border-radius: 8px; color: #0369a1;">F_para = m &times; g &times; sin(&theta;) &nbsp;[N]</p><p><strong>③ 임계 미끄러짐 조건 (Slipping Point):</strong> 하향 구동력이 정지 마찰 한계보다 커지는 순간 미끄러짐이 폭발적으로 유발됩니다.</p><p style="text-align: center; font-weight: bold; background: #fee2e2; padding: 12px; border-radius: 8px; color: #991b1b;">F_para > Fs_max &nbsp;&rArr;&nbsp; m&middot;g&middot;sin&theta; > &mu;s&middot;m&middot;g&middot;cos&theta; &nbsp;&rArr;&nbsp; tan(&theta;) > &mu;s</p>
<h3>3. 미끄러짐 발생 시의 가속도 및 마찰 펄스 변화</h3>
<p>임계각을 넘어 물체가 하향 슬라이딩하기 시작하는 찰나, 마찰력은 <code>Fs_max</code>에서 <code>Fk</code>로 계단식으로 급감하며, 이 상태 변화에 의해 물체는 다음 빗면 가속도 <code>a</code>로 등가속도 활주하게 됩니다.</p><p style="text-align: center; font-weight: bold; background: #f3f4f6; padding: 12px; border-radius: 8px;">a = g &times; (sin(&theta;) - &mu;k &times; cos(&theta;)) &nbsp;[m/s^2]</p><p>이처럼 급격한 정마찰-동마찰 전이는 기계 브레이크 소음, 지진 단층 슬립, 차륜 바퀴 공전(Slipping) 등 기계계의 비선형적인 진동 및 파괴 거동을 일으키는 핵심적인 동역학적 현상입니다.</p>
        </div>
    </div>
</details>
<style>
details.premium-seo-accordion[open] summary .accordion-arrow { transform: rotate(180deg); color: #00f2fe; }
details.premium-seo-accordion summary::-webkit-details-marker { display: none; }
details.premium-seo-accordion:hover { border-color: rgba(0,242,254,0.3); }
</style>

]]></content:encoded>
					
					<wfw:commentRss>https://myengnote.com/friction-force-inclined-plane-calculator-simulator/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
