Skip to content
P

Primrose

A syntax-highlighting text editors that renders to an HTML5 Canvas

by capnmidnightFree

#3359in Utilities
0In stores

Description

Primrose is a syntax-highlighting text editor that renders into an HTML5 Canvas element. It is made in particular for texturing 3D objects i…

Highlights

  • Syntax-highlighted editor drawn on a canvas
  • Unicode-aware, with line numbers and colour themes
  • Highlighting for JavaScript, HTML and BASIC
  • Built for textures in WebGL and Three.js

Ratings & Reviews

No ratings yet

Be the first to rate Primrose.

People also visit

P

Prism code editor

Lightweight, extensible code editor component for the web using Prism

Developer Tools
Launch
S

Smart-Text-Editor

The text editor that requires only a browser and a keyboard!

Utilities
Launch
E

Editor

Browser-based visual editor for building WebGL, WebGPU, WebXR apps

Design
Launch
C

Codejar

An embeddable code editor for the browser

Developer Tools
Launch
N

Notectl

Modern Accessible WYSIWYG rich text editor built as a framework-agnostic Web

Utilities
Launch
S

Storyai 3d Director Desk

A browser-based 3D director desk demo built with React, Vite, and Three.js

Utilities
Launch

Primrose FAQ

What is Primrose?

A syntax-highlighting text editor that renders to an HTML5 Canvas, made for texturing 3D objects in WebGL apps.

Which languages are highlighted?

JavaScript, HTML and BASIC, according to the README.

Can I use it in a 3D scene?

Yes. The README shows an example with Three.js, but it says pointer input such as mouse or VR controllers needs raycast-based picking that you add yourself.

Does it support right-to-left text?

No. The README says the international keyboard support works for left-to-right rendering only.

What license is it under?

The MIT license. The README describes it as free, open-source software.

What are the best Primrose alternatives?

Popular alternatives to Primrose include Smart-Text-Editor, Notectl and Storyai 3d Director Desk. See all Primrose alternatives

Developer Stuff

Badges