explaingit

mourner/icomesh

Analysis updated 2026-07-17 · repo last pushed 2019-09-27

68JavaScriptAudience · developerComplexity · 2/5DormantSetup · easy

TLDR

A JavaScript library that instantly generates sphere-shaped 3D meshes for web graphics by subdividing an icosahedron into a smooth, ready-to-render shape.

Mindmap

mindmap
  root((icomesh))
    What it does
      Generate sphere meshes
      Subdivide icosahedron
      Adjustable detail level
    Tech stack
      JavaScript
      WebGL friendly output
    Use cases
      Interactive planets
      Game skyboxes
      Sphere data visualizations
    Audience
      Web developers
      Graphics programmers
    Output
      Vertex positions
      Triangle indices
      Optional texture coords

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Generate a smooth sphere mesh for a 3D planet visualization without writing subdivision math by hand.

USE CASE 2

Create a skybox mesh for a browser-based game using an adjustable subdivision level.

USE CASE 3

Use the unit-sphere vertex positions directly as lighting normals for shading.

USE CASE 4

Build a data visualization that maps values onto the surface of a sphere.

What is it built with?

JavaScript

How does it compare?

mourner/icomeshfeicaiclub/video-spec-buildervverity/inpainttranslator-edge-chrome
Stars686767
LanguageJavaScriptJavaScriptJavaScript
Last pushed2019-09-27
MaintenanceDormant
Setup difficultyeasyeasymoderate
Complexity2/51/53/5
Audiencedevelopervibe codervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Copy-paste prompts

Prompt 1
Show me how to use icomesh to generate a sphere mesh with subdivision level 4 and render it in Three.js.
Prompt 2
Explain how icomesh's icosahedron subdivision works to produce smoother spheres at higher levels.
Prompt 3
Write code that uses icomesh's vertex output directly as lighting normals in a WebGL shader.
Prompt 4
How do I add texture coordinates to an icomesh-generated sphere to wrap an image around it?

Frequently asked questions

What is icomesh?

A JavaScript library that instantly generates sphere-shaped 3D meshes for web graphics by subdividing an icosahedron into a smooth, ready-to-render shape.

What language is icomesh written in?

Mainly JavaScript. The stack also includes JavaScript.

Is icomesh actively maintained?

Dormant — no commits in 2+ years (last push 2019-09-27).

How hard is icomesh to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is icomesh for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.