Readme

3️⃣ πŸ‡© create 3d emojis and text with three.js

example usage:

include a container in your HTML

<div id="3d-emoji" style="width: 300px; height: 300px;"></div>

call the function after the DOM has loaded

import { create3DEmoji } from 'https://esm.town/v/iamseeley/threedEmoji'; document.addEventListener('DOMContentLoaded', () => { create3DEmoji('😊', 300, 300); });
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
June 10, 2024