Liko is a lightweight, high-performance H5 rendering framework developed using TypeScript.
Liko is a high-performance rendering engine based on WebGPU, specially designed for AI.
Liko can be used for game development, H5 applications, and interactive scenarios.
npm install liko
import { App, Text } from 'liko';
async function test() {
// Create application instance
const app = new App();
// Initialize the application, set canvas size to 800x800
await app.init({ width: 800, height: 800 });
// Create text object
new Text({
text: "Hello World", // Text content
fillColor: "#ff0000", // Text color (red)
fontSize: 30, // Font size
pos: { x: 100, y: 100 }, // Text position
parent: app.stage, // Parent node is stage
});
}
test();
demo: https://letmaker.github.io/liko-page/
source code: https://github.com/letmaker/liko-demo
api: https://letmaker.github.io/liko-page/docs/
MIT