npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

leviar

v1.1.0

Published

WebGL 2.5D rendering engine with parallax scrolling

Readme

leviar Engine

High-Performance 2.5D Rendering Engine for WebGL

jsDelivr hits (npm) license platform

leviar는 WebGL의 강력한 성능을 기반으로, 복잡한 3D 수식 없이도 2.5D 시각 효과현실적인 물리 엔진을 구현할 수 있는 모던 렌더링 엔진입니다.


🎮 실시간 예제 보기 (Live Demo)

leviar 엔진이 제공하는 다양하고 화려한 시각적 기능들을 바탕으로 한 예제들을 웹 브라우저에서 즉시 체험해 보세요!

👉 leviar 엔진 통합 예제 페이지 접속하기 🚀


✨ 왜 leviar인가요?

| 🚀 성능 (Performance) | ⚖️ 물리 (Physics) | 🎬 연출 (Dynamics) | | :--- | :--- | :--- | | WebGL 기반 최적화: 수천 개의 객체를 부드럽게 렌더링하는 인스턴싱 기술 적용. | Z-Isolation: matter-js을 기반으로 심도에 따른 지능적 충돌 레이어 분리 시스템 제공. | 34종 이징(Easing): 어떤 속성이든 살아 움직이게 만드는 애니메이션 엔진. |


🏗️ 핵심 아키텍처

레비아 엔진은 객체를 6가지 명확한 레이어로 구분하여 정밀하게 제어합니다.

속성

레비아 엔진은 직관적이고 효율적인 제어하기 위해 메서드에 의존하지 않고 객체의 속성(Attribute/Style/Transform)을 직접 수정하는 방식을 지향합니다.

  • 🏷️ Attribute: 객체의 ID, 물리 특성 및 타입을 정의하는 식별 계층.
  • 🎨 Style: CSS 기반의 친숙한 외형 디자인 (BorderRadius, Shadow 등).
  • 📐 Transform: 3D 월드 상의 위치, 회전, 크기 및 부모-자식 계층 관리.
  • 📦 Dataset: 애니메이션과 연계되는 지능적 사용자 데이터 저장소.

메서드

메서드는 속성만으로 표현하기 어려운 복잡한 물리 연작용이나 애니메이션 트랜지션을 보존하기 위해 존재하는 강력한 유틸 함수입니다.

  • 🛠️ Method: animate, follow, applyForce 등 구체적 동작 명령.

이벤트

객체의 상태 변화나 상호작용을 감지하는 데 사용됩니다.

  • 🔔 Event: 상호작용 및 변화를 감지하는 실시간 이벤트 시스템.

⚡ 빠른 시작 (Quick Start)

Node.js

npm install leviar

Browser

<script src="https://cdn.jsdelivr.net/npm/leviar@1/+esm"></script>

단 몇 줄의 코드로 입체감 있는 세계를 창조하세요.

import { World } from 'leviar'

const world = new World()
const camera = world.createCamera({ attribute: { focalLength: 150 } })
world.camera = camera

// 화려한 상자 하나를 월드 중앙에 배치합니다.
const box = world.createRectangle({
  attribute: { name: 'hero_box', physics: 'dynamic' },
  style: { 
    color: '#3498db', width: 100, height: 100, 
    borderRadius: 15, boxShadowBlur: 20 
  }
})

// 속성을 직접 수정하여 회전시키며 투명하게 만드는 애니메이션!
box.animate({
  style: { opacity: 0.3 },
  transform: { rotation: { z: '+=360' } }
}, 1500, 'easeInOutBack')

world.start()

🎥 더 깊이 알아보기


📜 License

MIT License. © 2026 leviar Engine Team.