Karsten Schmidt is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

postspectacular / toxiclibs http://toxiclibs.org/

Building blocks for computational design with Java & Processing. LGPLv2 licensed.

Clone this repository (size: 27.1 MB): HTTPS / SSH
hg clone https://bitbucket.org/postspectacular/toxiclibs
hg clone ssh://hg@bitbucket.org/postspectacular/toxiclibs

Searching for commits

Mercurial supports a functional language for selecting a set of revisions.

The language supports a number of predicates which are joined by infix operators. Parenthesis can be used for grouping.

Identifiers such as branch names must be quoted with single or double quotes if they contain characters outside of [._a-zA-Z0-9\x80-\xff] or if they match one of the predefined predicates.

Prefix operators

not x
Changesets not in x. Short form is ! x.

Infix operators

x::y

A DAG range, meaning all changesets that are descendants of x and ancestors of y, including x and y themselves. If the first endpoint is left out, this is equivalent to ancestors(y), if the second is left out it is equivalent to descendants(x).

An alternative syntax is x..y.

x:y
All changesets with revision numbers between x and y, both inclusive. Either endpoint can be left out, they default to 0 and tip.
x and y
The intersection of changesets in x and y. Short form is x & y.
x or y
The union of changesets in x and y. There are two alternative short forms: x | y and x + y.
x - y
Changesets in x but not in y.

Predicates

all()
All changesets, the same as 0:tip.
ancestor(single, single)
Greatest common ancestor of the two changesets.
ancestors(set)
Changesets that are ancestors of a changeset in set.
author(string)
Alias for user(string).
bookmark([name])
The named bookmark or all bookmarks.
branch(set)
All changesets belonging to the branches of changesets in set.
children(set)
Child changesets of changesets in set.
closed()
Changeset is closed.
date(interval)
Changesets within the interval, see hg help dates.
descendants(set)
Changesets which are descendants of changesets in set.
file(pattern)
Changesets affecting files matched by pattern.
follow()
An alias for ::. (ancestors of the working copy's first parent).
grep(regex)
Like keyword(string) but accepts a regex. Use grep(r'...') to ensure special escape characters are handled correctly.
head()
Changeset is a named branch head.
heads(set)
Members of set with no children in set.
id(string)
Revision non-ambiguously specified by the given hex string prefix.
keyword(string)
Search commit message, user name, and names of changed files for string.
limit(set, n)
First n members of set.
max(set)
Changeset with highest revision number in set.
merge()
Changeset is a merge changeset.
min(set)
Changeset with lowest revision number in set.
p1([set])
First parent of changesets in set, or the working directory.
p2([set])
Second parent of changesets in set, or the working directory.
parents([set])
The set of all parents for all changesets in set, or the working directory.
present(set)
An empty set, if any revision in set isn't found; otherwise, all revisions in set.
rev(number)
Revision with the given numeric identifier.
roots(set)
Changesets with no parent changeset in set.
tag(name)
The specified tag by name, or all tagged revisions if no name is given.
user(string)
User name is string.

Commits 1–30 of 933

Author Revision Comments Message Labels Date
Karsten Schmidt 002972a60e15 refactoring/rewriting PointQuadtree to dynamically split & re-balance branch nodes, now simpler API with no need for min. node size, will be used as template for rewriting PointOctree too, updating SpatialIndex query methods to ask for optional, existing results list, adding Shape2D.getEdges(), updating tests
Branch
spatialphysics
Karsten Schmidt 8d5153d32f0a refactoring PointQuadtree to implement SpatialIndex API, updating SpatialIndex methods to return boolean instead of ints, updating AttractTest2D & QuadtreeTest
Branch
spatialphysics
Karsten Schmidt 48f99b98bc83 extracting new generic interface toxi.geom.SpatialIndex and updating its SpatialBins implementation and related changes in 2d physics
Branch
spatialphysics
Karsten Schmidt 763ad7a8ae5d adding SpatialBins & CoordinateExtractor, updating VerletPhysics2D & AttractionBehavior2D to support optional spatial indexing using SpatialBins
Branch
spatialphysics
Karsten Schmidt 2da65df85570 javadoc updates/corrections
Branch
spatialphysics
Karsten Schmidt 0ad5d044b25a updating test applets to latest quad/octree changes
Branch
spatialphysics
Karsten Schmidt 2c0176950dd8 adding Rect.intersectsCircle(), adding PointQuadtree.getPointsWithinCircle(), updating quad & ochtree to return Lists instead of ArrayLists, updating OctreeDemo, TreeGrowth, DLASpiral, adding QuadtreeTest
Branch
spatialphysics
Karsten Schmidt 689ddcd9bea3 minor refactoring of LineStrip2D.getDecimatedVertices(), renaming Matrix3d.getElement() into get(), removing individual element getters, adding setters/getters to FluidSolver2D, updating tests to reflect recent API changes, renaming PointCloud into PointCloud3D
Karsten Schmidt e59d53581293 updating ProfilePathAlignment demo to new spline syntax, updating physics readme
Karsten Schmidt b1955d9a378f fixed #31 typo in 2-point Rect() constructor, thanks Alan!
Karsten Schmidt 599d2a58cdf6 issue #30 fixed: removing circular build dependency in build_core.xml and moving new mesh classes from toxi.geom.mesh package into new source folder src.newmesh and (temporary) package toxi.newmesh, updating .classpath
Karsten Schmidt 032471906b66 updating ErosionFunction and adding getters/setter for TalusAngleErosion
Karsten Schmidt 91ff272b669d updating P5 examples with API changes and adding MeshAlignToTriangle example
Karsten Schmidt 5acdef0df9f6 changing behavior for FileUtils.createDirectories() to literally create any directories for the given path, re-creating existing behavior as createDirectoriesForFile() (creating parent directories for a given file)
Karsten Schmidt 203b4bda6b2a minor optimization in ScaleMap.getClippedValueFor() & getMappedValueFor()
Karsten Schmidt 9ba0a16897f1 adding Box/Plane/MeshIntersector implementations of Intersector3D
Karsten Schmidt 6012bfd45a14 adding Terrain.clear() & updateElevation() methods
Karsten Schmidt 94bd573365f0 updating ReadonlyVec2D/Vec2D.min()/max() & minSelf()/maxSelf() to work with ReadonlyVec2D, updating Vec2D.angleBetween() to workaround float rounding errors
Karsten Schmidt 426cf1202f88 refactoring/improving Triangle3D.containsPoint() now using barycentric coordinates, minor updates to isSameClockDir() too
Karsten Schmidt 41c8859a9c9b adding Ray2D/3D.setNormalizedDirection() for pre-normalized vectors
Karsten Schmidt 7cba972224d4 adding Polygon2D.scaleSize() methods
Karsten Schmidt 4239f3c325bf bug fix Rect constructor for 2 points, ensuring width/height are always positive
Karsten Schmidt 46e6bbb5606b adding Shape2D.getBoundingCircle()
Karsten Schmidt 85a327305189 adding LineStrip2D.intersectLine() and scale() methods
Karsten Schmidt b32d3fa4e044 updating Voronoi.addPoints() to work with any java.util collection
Karsten Schmidt bcab35453edf adding NurbsCurve.toPolygon2D() and implementing for BasicNurbsCurve
Karsten Schmidt 4d82ec4a26e8 overriding Integer/Float/DoubleRange.fromSamples() for varargs/primitive arrays
Karsten Schmidt d4e77f93ff97 refactoring toxi.sim.erosion.ErosionFunction: adding setElevation(), adding erodeWithinPolygon(), renaming erode() into erodeAll()
Karsten Schmidt 2d292c2ec6bc MeshLatticBuilder: adding getter/setter for volume, adding setInputBounds()
Karsten Schmidt 8e8c514c4233 updating RectConstraint to act as both container or obstacle, fixed bug in GravityBehavior2D/3D when attaching as local behavior, minor optimization in VerletPhysics2D/3D to only update springs (times numIterations) when there're springs...
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 30
  8. 31
  9. »