lottery
🎉🌟✨🎈年会抽奖程序,基于 Express + Three.js的 3D 球体抽奖程序,奖品🧧🎁,文字,图片,抽奖规则均可配置,😜抽奖人员信息Excel一键导入😍,抽奖结果Excel导出😎,给你的抽奖活动带来全新酷炫体验🚀🚀🚀
A growing three.js helper library.
A growing three.js helper library.
Sangonomiya Kokomi, the young Divine Priestess of Watatsumi Island.
npm i kokomi.js
Also, make sure to install three.js.
npm i three
Check the documentation: https://kokomi-docs.netlify.app/
With just several lines, you can make a most basic 3D scene :d
index.html
<div id="sketch"></div>
style.css
#sketch {
width: 100vw;
height: 100vh;
background: black;
overflow: hidden;
}
script.js
import * as kokomi from "kokomi.js";
class Sketch extends kokomi.Base {
create() {
new kokomi.OrbitControls(this);
const box = new kokomi.Box(this);
box.addExisting();
this.update((time) => {
box.spin(time);
});
}
}
const createSketch = () => {
const sketch = new Sketch();
sketch.create();
return sketch;
};
createSketch();
Online Sandbox: https://kokomi-sandbox.netlify.app/
kokomi.Base class to kickstart a simple scene without writing any boilerplate codes.kokomi.Component, you can make your components keep their own state and animation.kokomi.AssetManager can handle the preloads of assets (gltfModel, texture, cubeTexture, font, etc). You can just write a simple js object to config your assets without caring about various loaders.👤 alphardex
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator
more like this
🎉🌟✨🎈年会抽奖程序,基于 Express + Three.js的 3D 球体抽奖程序,奖品🧧🎁,文字,图片,抽奖规则均可配置,😜抽奖人员信息Excel一键导入😍,抽奖结果Excel导出😎,给你的抽奖活动带来全新酷炫体验🚀🚀🚀
🎥🤟 8 minimalistic templates for tfjs mediapipe handpose and facemesh
A repository about starting from scratch for monorepo, fastify, Phaser, colyseus, and threejs.
search projects, people, and tags