Skip to content

jeetrico/anime-ar-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ€ JEETRICO: Anime AR Engine โšก

Real-Time Chakra Effects in Your Browser

License Platform Engine Status

"A shinobiโ€™s life is not measured by how they lived, but rather what they managed to accomplish."

JEETRICO Anime AR Engine is a browser-based Augmented Reality system that lets you summon anime chakra powers using real-time hand tracking and computer vision.

No apps.
No installation.
Just open the page and activate your chakra.


๐ŸŽฅ Demo Video

โ–ถ Watch the Demo

https://github.com/jeetrico/anime-ar-engine/blob/main/demo.mp4


๐ŸŽฌ Demo Screenshots

๐ŸŒช๏ธ Rasen Shuriken Activation

โšก Chidori / Raikiri Activation


๐Ÿ“บ Live Jutsu Demo

๐Ÿ‘‰ CLICK HERE TO ACTIVATE YOUR CHAKRA

โš ๏ธ Requires camera access
๐Ÿ“ฑ Works best on modern mobile devices


โœ‹ How It Works

The engine uses MediaPipe Hands to track 21 hand landmarks in real time.

Pipeline:

1๏ธโƒฃ Camera captures the video feed
2๏ธโƒฃ MediaPipe detects hand landmarks
3๏ธโƒฃ Engine checks if palm is open
4๏ธโƒฃ Jutsu VFX attaches to palm anchor
5๏ธโƒฃ Chakra effect grows dynamically


๐Ÿ”ฅ Jutsu System

๐ŸŒช๏ธ Rasen Shuriken (Right Hand)

When your right palm opens, the engine generates a rotating chakra sphere.

Features:

โ€ข Starts with swirling chakra core
โ€ข Mid-animation loop for smooth aura
โ€ข Dynamic chakra expansion
โ€ข Anchored slightly above the palm

Example logic:

if(handOpen){
   rasenganSize += chakraPower
}

The longer you hold the palm open, the bigger the Rasengan becomes.


โšก Chidori / Raikiri (Left Hand)

Opening your left palm activates lightning chakra.

Features:

โ€ข Instant activation
โ€ข Continuous lightning animation
โ€ข Infinite looping effect
โ€ข Perfect palm-center alignment

Inspired by the legendary Raikiri technique.


โš”๏ธ Jutsu Clash Detection

When both hands activate simultaneously, the engine detects a chakra clash.

HUD warning:

โš ๏ธ JUTSU CLASH DETECTED โš ๏ธ

Future upgrades may include:

๐Ÿ’ฅ Chakra explosion
โšก Lightning discharge
๐ŸŒช๏ธ Energy shockwave


๐Ÿง  Engine Architecture

The system prevents animation glitches using state-tracking logic.

Example:

if (!wasOpen[idx]) {
    vidRasengan.currentTime = 0;
    vidRasengan.play();
}

Core components:

Component Role
MediaPipe Hands Hand landmark detection
Gesture Logic Detect open / closed palm
Video VFX Chakra animations
Canvas Renderer Skeleton tracking

๐Ÿ› ๏ธ Technology Stack

Technology Purpose
HTML5 UI structure
CSS3 Chakra glow effects
JavaScript Engine logic
MediaPipe Hands Real-time hand tracking
Canvas API Skeleton rendering
MP4 overlays Anime chakra VFX

๐Ÿ“‚ Repository Structure

anime-ar-engine
โ”‚
โ”œโ”€โ”€ index.html
โ”‚   โ””โ”€โ”€ Core AR engine
โ”‚
โ”œโ”€โ”€ demo.mp4
โ”‚
โ”œโ”€โ”€ assets
โ”‚   โ”œโ”€โ”€ jeet_left_aura.mp4
โ”‚   โ””โ”€โ”€ jeet_right_aura.mp4
โ”‚
โ”œโ”€โ”€ LICENSE
โ””โ”€โ”€ README.md

๐Ÿš€ Running the Project Locally

Clone the repository

git clone https://github.com/jeetrico/anime-ar-engine.git

Open the folder

cd anime-ar-engine

Run a local server

python -m http.server

Open browser

http://localhost:8000

๐Ÿ“ฑ Performance Notes

For best tracking accuracy:

โœ” good lighting
โœ” clear background
โœ” hand fully visible

Mobile cameras provide better tracking performance than most webcams.


๐Ÿ”ฎ Future Upgrades

Planned features:

โ€ข ๐Ÿ’ฅ Chakra explosion system
โ€ข โšก Lightning particle engine
โ€ข ๐ŸŽฎ Gesture-based jutsu selection
โ€ข ๐ŸŽฅ AR recording feature
โ€ข ๐Ÿง  AI gesture recognition
โ€ข ๐ŸŒ€ Multiple anime abilities


๐Ÿ‘จโ€๐Ÿ’ป Author

Jeet Banerjee

GitHub
https://github.com/jeetrico


๐Ÿ“œ License

MIT License

You are free to:

โœ” use
โœ” modify
โœ” distribute


โญ Support the Project

If this project awakened your chakra:

โญ Star the repository
๐Ÿด Fork the project
๐Ÿš€ Build your own anime AR powers