1
2
Fork
You've already forked h9
0
generative art library based on geometries https://h9.bees.free
  • CSS 42%
  • TypeScript 35.6%
  • HTML 12.1%
  • Python 9.7%
  • Dockerfile 0.3%
  • Other 0.3%
2026年05月13日 12:03:05 -05:00
.github/workflows djok 2025年12月17日 21:58:33 -06:00
apps CSS fixes for scroll 2026年01月21日 20:50:34 -06:00
config cherry blossom 2026年04月13日 00:41:45 -05:00
docs Arc -> Path 2026年02月01日 11:18:50 -06:00
examples HTP 2026年05月13日 12:03:05 -05:00
src refactor for circular imports 2026年04月30日 22:42:23 -05:00
static 25: organic shape w/ l-system fixes 2026年01月26日 23:35:07 -06:00
templates SVG download for pen plotter 2026年01月23日 20:28:51 -06:00
.dockerignore djok 2025年12月17日 21:58:33 -06:00
.gitignore dist/ to static/ 2026年01月01日 02:04:27 -06:00
.pre-commit-config.yaml genuary 01 2026年01月01日 18:11:28 -06:00
Dockerfile dockerfile 2025年12月31日 21:15:48 -06:00
Justfile genuary 01 2026年01月01日 18:11:28 -06:00
LICENSE license/main 2025年11月02日 02:06:07 -06:00
logo.svg logo WIP 2025年11月01日 20:24:36 -05:00
manage.py djok 2025年12月17日 21:58:33 -06:00
package.json fix prettier 2026年01月01日 18:26:32 -06:00
pyproject.toml deployment test 2025年12月31日 21:02:25 -06:00
README.md genuary 01 2026年01月01日 18:11:28 -06:00
tsconfig.json ts strict; almost done! 2025年11月29日 17:55:25 -06:00
typedoc.json move away from www/ 2026年01月01日 00:04:59 -06:00
uv.lock deployment test 2025年12月31日 21:02:25 -06:00

honeycombs (aka h9) is a library for drawing things in the browser.

documentation くろまる examples くろまる code

Warning

The library is ready for early feedback, but please be aware that the interface is still far from stable during development. If you are using the library make sure to pin a specific version with npm/unpkg.

Key Ideas

honeycombs is named in part due to the way it uses geometries to provide structure to drawings. To make it easier to type, and to conform to market expectations, the library is imported as h9. h9 borrows ideas from p5.js, d3, and game engines.

It takes just a few minutes to get acquainted with the key ideas:

Layout

Sketches typically start with a layout , a division of the available screen space: a traditional square grid allows positioning independent of the actual dimensions of the page, or use hexagonal, triangular, or radial grids. You can always design your own layout too. One of the design goals of honeycombs is to take care of as many of the repetitive and/or math-intensive portions of creative coding-- leaving you more time to create.

Drawables

Building on the substrate of a layout, you will position one or more drawables . The built-in drawables represent the geometric primitives common to 2D computer graphics: points, lines, polygons, circles, arcs, curves.

Transformation

Drawables do not need to be drawn to be useful to laying out the final graphic. Through various transformation, combination, and selection methods it is possible to create complex geometries with minimal code and no complex math.

Animation

While still under active development, the goal is to also provide novel interfaces for creating different kinds of animation .

Utilities

With the goal of providing you with everything you need to quickly start creating, the library also comes with utilities for working with color, random numbers, noise, timers, and more.