A syntax-highlighting text editor that renders to an HTML5 Canvas, ideal for texturing 3D objects in WebGL applications.
Primrose is a syntax-highlighting text editor that renders its interface entirely to an HTML5 Canvas element. It solves the problem of embedding editable, styled text within WebGL applications and 3D scenes, where standard DOM-based editors cannot be used. It provides features like line numbers, theming, and language support for JavaScript, HTML, and BASIC.
WebGL developers and creators of interactive 3D web applications who need to integrate text editing or display into their scenes, such as for in-world code editors, UI texturing, or immersive interfaces.
Developers choose Primrose for its unique canvas-based rendering that seamlessly integrates with WebGL and Three.js, offering a programmable text editor that can be textured onto 3D objects. It provides a specialized solution where traditional HTML editors fail.
A syntax-highlighting text editors that renders to an HTML5 Canvas
Renders the entire editor UI to HTML5 Canvas, enabling direct integration into WebGL contexts like Three.js for texturing 3D objects, where DOM editors cannot be used.
Supports syntax highlighting for JavaScript, HTML, and BASIC with customizable color themes, enhancing code readability in immersive environments.
Offers extensive configuration via HTML attributes or JavaScript, including line numbers, word wrap, padding, and scale factors for precise control in various scenarios.
Includes international keyboard support and handles wide Unicode characters, making it versatile for global applications and diverse text inputs.
Only supports three languages (JavaScript, HTML, BASIC), which is restrictive for projects needing highlighting for other common languages like Python or TypeScript.
Requires developers to implement raycasting for pointer events in 3D contexts, adding complexity compared to automatic DOM-based event management, as noted in the README.
Missing modern text editor features like autocomplete, multi-cursor support, or a plugin ecosystem, focusing instead on core editing functions for niche use.
[DISCONTINUED] Collection of awesome resources for the A-Frame WebVR framework.
Desktop app that let you create and prototype WebVR in interactive way needing no previous coding knowledge
Build VR websites and interactive 360 experiences with React
Web framework for building virtual reality experiences
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.