Skip to content

Releases: rabbit-ear/rabbit-ear

v0.9.4-alpha

12 May 16:14
0b34023

Choose a tag to compare

Rewrite of the entire library. some key takeaways from a user's perspective

  • class objects have been largely removed (vector, matrix, line) these now exist as Typescript type definitions, and the primitive itself is simply an object or array. VecLine2 and VecLine3 distinguish between 2D and 3D lines now (UniqueLine type is always in 2D).
  • the convert/ folder has been entirely refactored, supports conversion between FOLD and SVG, OBJ, OPX (including the newer ORIPA version)
  • a new general/ directory and ear.general subcategory for operations on more general objects (not a FOLD graph), such as clustering, sorting, array set operations.
  • operations to modify a FOLD graph are quite different. different intersection methods, add components, join, planarize, subgraph, populate, new and improved folding methods.
  • new validate section intended to report errors on poorly formed FOLD objects
  • new layer solver which works in 3D is still in testing, available at ear.layer.layer3D(). the 2D solver is still at ear.layer()
  • complete rewrite of singleVertex/ directory
  • svg library contains improved options for rendering FOLD objects, made available through the new convert/fold-to-svg method
  • the WebGL rendering has undergone years of usage and improvements and is beginning to replace the SVG library as the preferred rendering in many Rabbit Ear apps now.
  • Typescript types (via. JSDocs)

v0.9.32-alpha

29 Jul 15:25
0af71eb

Choose a tag to compare

new layer solver implementation at ear.layer.solver(), huge performance improvement. solver returns data bound to a prototype which includes methods to process and analyze the data. methods include

count()
solution(...indices)
allSolutions()
facesLayer(...indices)
allFacesLayers()
faceOrders(...indices)
allFaceOrders()

ear.layer.assignmentSolver renamed to ear.layer.singleVertexAssignmentSolver.

ear.math.enclosingBoundingBoxes, new method. test if one bounding box is entirely inside another.

ear.graph.makeEdgesEdgesSimilar, answers which edges have the same endpoints (vertices) as other edges. endpoints can be in any order.

performance improvements for ear.graph.makeFacesFacesOverlap, ear.graph.makeEdgesFacesOverlap.

v0.9.31-alpha

08 Jul 12:59
96aff0d

Choose a tag to compare

docs are now versioned.

book now supports darkmode.

both UMD and ES6 module included in distributions now.

various improvements, including:

  • axiom function wrapper has changed. validate() is now exposed to the user, as is the axiomInBoundary methods. Normal-distance parameterization methods are now named as such.
  • new convex hull algorithm. two entrypoints: convexHull returns points, convexHullIndices returns indices of points from your points parameter array.
  • onLeave added to the other three methods onMove onPress onRelease for SVG elements.

v0.9.3-alpha

26 Jun 22:26
7380aaf

Choose a tag to compare

  • introducing docs
  • all snake_case renamed to camelCase
  • library now has 0 dependencies
  • rewrite axioms

v0.9.2-alpha

28 Jan 14:07
b224b6a

Choose a tag to compare

new layer-solver for folding a crease pattern

v0.9.11-alpha

17 Jan 18:01
d796a50

Choose a tag to compare

math intersect/overlap rewrite. methods like "point_in_poly" now moved to "overlap_" or "intersect_" followed by names of primitives. like "overlap_convex_polygon_point".

math primitives also gained new methods which are wrappers around math core.

v0.9.01-alpha

10 Jan 16:08
e83d5a7

Choose a tag to compare

substitute fold-to-draw for new concise and more integrated system

v0.9.0-alpha

09 Jan 03:48
0ba6f91

Choose a tag to compare

v0.9.0-alpha Pre-release
Pre-release

first alpha build in anticipation of v1.0

RabbitEar 0.1

22 Jun 14:44

Choose a tag to compare

information at rabbitear.org