Skip to content

Instantly share code, notes, and snippets.

[Scene]
Title = "Back-to-Face Cut – Emotional Reveal"
Setting = "Twilight field or quiet rooftop with soft wind and fading light."
Objective = "Practice connecting two anime-style shots: a distant back view transitioning into an emotional close-up."
[Reference]
reference_image = "tsurugi2.png"
face_consistency = true
hair_color_consistency = true
pose_influence = false
[Scene]
Title = "Arrival Scene – Anime Style Camera Practice with a Blonde Actress"
Setting = "Studio corridor or outdoor walkway at sunset, warm cinematic tone."
Objective = "Practice capturing a dramatic character entrance using two anime-style camera angles, emphasizing lighting and movement."
[Reference]
reference_image = "tsurugi2.png"
face_consistency = true
hair_color_consistency = true
pose_influence = false
[Objective]
Objective = "Illustrate a serene anime-style scene of a young woman performing the final stage of Iaido—sheathing her katana with grace and composure."
[Visual_Concept]
Theme = "Grace, discipline, and quiet strength"
Tone = "Peaceful and contemplative"
Lighting = "Evening light with amber tones reflecting off wooden floor"
Camera_Angle = "Side view, slightly elevated perspective (≈15°)"
[Character]
[Objective]
Prompt = "Create an anime-style illustration of a young woman (early 20s) performing a karate pose viewed from a slightly elevated diagonal angle. The image should express both strength and elegance through motion, focus, and lighting."
[Visual_Concept]
Theme = "Discipline, elegance, and inner strength in motion"
Tone = "Dynamic and cinematic, with an undercurrent of calm determination"
Mood = "Focused and powerful, like the decisive moment before impact"
[Character]
Name = "Chubu Tsurugi"
@masakielastic
masakielastic / example.txt
Created November 2, 2025 05:24
カメラを持ちながらランプポストにもたれかかる女性の画像生成プロンプト (Gemini)
Scene Description:
Anime-style vertical portrait of a confident young woman standing in an urban setting at late afternoon. She leans casually against a lamppost, left foot resting on the base, camera in her right hand, left hand in pocket, looking slightly off-frame with a calm, confident expression that suggests quiet wanderlust.
Lighting & Color Tone:
Apply a cinematic cool-tone color grade with soft blue ambient shadows and a warm golden rim light from the left, gently illuminating her face and shoulder — evoking late-afternoon sunlight.
The light creates a balanced contrast between warmth and coolness, adding emotional depth.
Subtle glow and air-light diffusion emulate a cinematic anime aesthetic, keeping the skin luminous but natural.
@masakielastic
masakielastic / README.md
Created August 22, 2025 15:34
Rust Tokio で Ctrl + C の入力を受け付ける

Rust Tokio で Ctrl + C の入力を受け付ける

Cargo.toml

[package]
name = "tokio"
version = "0.1.0"
edition = "2021"
@masakielastic
masakielastic / README.md
Last active August 22, 2025 15:19
Tokio で Hello World。async/await 実行の最小構成

Tokio で Hello World。async/await 実行の最小構成

Cargo.toml

[package]
name = "tokio"
version = "0.1.0"
edition = "2021"

warp v0.4 で HTTP/1 サーバー (Filter からサービスの作成)

構成

  • Cargo.tmol
  • src/main.rs

実行

cargo run を実行します。 ブラウザーや curl でアクセスします。

@masakielastic
masakielastic / 01-README.md
Last active August 18, 2025 21:38
warp で HTTP サーバー

warp で HTTP サーバー

実行

Cargo.tomlsrc/main.rs を設置して cargo run を実行します。

TLS

v0.4.0, v0.4.1 では TLS が無効になっているので v0.3 系を利用します。issue の記録によると TLS が無効になっているのは hyper のバージョンを v0.1.4 から v1 系に引き上げたことや warp の API を変更するためだそうです。

@masakielastic
masakielastic / 01-README.md
Created August 5, 2025 04:24
2枚の立ち絵をもとに ffmpeg で目パチ動画を作成する

2枚の立ち絵をもとに ffmpeg で目パチ動画を作成する

2枚の立ち絵(eye_open.png と eye_closed.png)を用意します。立ち絵は PSDToolで生成できます。

1秒24コマとして10秒240コマ分の画像を生成します。

chmod +x generate_blink_frames.sh
./generate_blink_frames.sh