Commit graph

  • 5d15c3dfef Simplify ToolEvent#getModifiers() & small cleanup in Key. Jonathan Puckey 2011-04-25 17:26:58 +0200
  • a96bb326f4 Some more simplifications in Key. Jonathan Puckey 2011-04-25 17:16:45 +0200
  • 95bfebf64b Simplify Key a bit. Jonathan Puckey 2011-04-25 17:08:08 +0200
  • 2e43fb0997 Key: add type to the key event. Jonathan Puckey 2011-04-25 14:57:06 +0200
  • 05a138bc7b Implement onKeyDown / onKeyUp & Key#isDown(key). Jonathan Puckey 2011-04-25 14:52:45 +0200
  • 1e4ae9afb4 Simplify ToolEvent#modifiers. Jonathan Puckey 2011-04-25 12:05:18 +0200
  • 22bc08501e Implement ToolEvent#modifiers. Jonathan Puckey 2011-04-25 11:52:52 +0200
  • 38a1ce0b6a Update Circles example. Jonathan Puckey 2011-04-23 16:30:29 +0200
  • 29e27c932e Update Smoothing example. Jonathan Puckey 2011-04-23 16:23:31 +0200
  • 5e6630a1f3 Speed up drawHandle function. Jonathan Puckey 2011-04-23 15:56:27 +0200
  • 36ba812f39 Add path smoothing example. Jonathan Puckey 2011-04-23 15:47:28 +0200
  • ff3d5aca17 Flock example: remove red connection paths. Jonathan Puckey 2011-04-23 14:35:54 +0200
  • f261da3279 Document#getSelectedItems: add todo. Jonathan Puckey 2011-04-23 14:32:21 +0200
  • c9538e8b53 Merge remote branch 'origin/master' Jonathan Puckey 2011-04-22 18:43:21 +0200
  • ffc5c6d981 Fix BezierTool to work with new segment selection code. Jonathan Puckey 2011-04-22 18:42:32 +0200
  • 092c893d38 Merge remote-tracking branch 'origin/master' Jürg Lehni 2011-04-22 16:32:32 +0100
  • 28c9254695 Rename onFrameLoop to onFrame. Jürg Lehni 2011-04-22 16:31:46 +0100
  • 538f360a6b Fix Document#getSelectedItems & Path#setSegments. Jonathan Puckey 2011-04-22 12:30:38 +0200
  • 578269d0c1 Add failing path selection test. Jonathan Puckey 2011-04-22 11:52:24 +0200
  • 2496f08b17 Segment tests: add a test for segment selection. Jonathan Puckey 2011-04-22 11:42:07 +0200
  • c1ec991aee Item test: initialize paths with segments, so they can be selected. Jonathan Puckey 2011-04-22 11:41:32 +0200
  • c9898ef3b0 Path tests: rename test. Jonathan Puckey 2011-04-22 11:40:54 +0200
  • 4d89d6c235 Path#setSegments: reset _selectedSegmentCount when setting a new segment list. Jonathan Puckey 2011-04-22 11:39:12 +0200
  • 11063af8df CompoundPath cleanups. Jonathan Puckey 2011-04-21 21:12:48 +0200
  • 1ea0a811b5 Use internal variables in CompoundPath#moveBy and Segment#isSelected. Jonathan Puckey 2011-04-21 21:06:35 +0200
  • af0543dac8 Some cleanups in Path. Jonathan Puckey 2011-04-21 21:01:31 +0200
  • dfb5cbc5eb Fix two bugs in the selected items code. Jonathan Puckey 2011-04-21 20:52:28 +0200
  • be8ee90f75 Document: use a hash for Document#_selectedItems to speed up adding to and removing from it. Jonathan Puckey 2011-04-21 20:43:42 +0200
  • 745f002cd3 Segment: add todo. Jonathan Puckey 2011-04-21 20:00:11 +0200
  • abb0878a25 Curve: Implement selection of curves. Jonathan Puckey 2011-04-21 19:54:32 +0200
  • cf541901dd Rename getSelected methods to isSelected. Jonathan Puckey 2011-04-21 19:51:49 +0200
  • d831d66758 Implement SelectionState.js: bitwise flags for segment selection state. Jonathan Puckey 2011-04-21 19:37:51 +0200
  • 7867a46c35 Path#setSelected: do XOR correctly. Jonathan Puckey 2011-04-21 18:45:36 +0200
  • cf2faa14e3 Path#join: use internal variables. Jonathan Puckey 2011-04-21 18:43:22 +0200
  • ff9976ab57 Implement Document#getSelectedItems. Jonathan Puckey 2011-04-21 18:10:47 +0200
  • 73b97dbfba Implement segment point selection. Jonathan Puckey 2011-04-21 18:06:06 +0200
  • 63c3480ef4 Add item tests for moving items across documents and selecting groups. Jonathan Puckey 2011-04-21 15:57:19 +0200
  • 732caec7bf Speed up drawing of selected items. Jonathan Puckey 2011-04-21 15:48:21 +0200
  • 517793c48a Implement Item#get/setDocument and Document#selectedItems. Jonathan Puckey 2011-04-21 15:47:00 +0200
  • b2cd8cdec2 Path: use the internal SegmentPoint#_x and #_y properties where possible. Jonathan Puckey 2011-04-21 15:25:25 +0200
  • 985aa5aff8 Directly access internal _x and _y properties on internal SegmentPoints, to avoid callling getters. Jürg Lehni 2011-04-21 13:33:12 +0100
  • 96f266b4d2 Add beginning of SegmentPoint class. Jürg Lehni 2011-04-21 13:21:56 +0100
  • 00958afd09 Explain lookup tables in Numerical. Jürg Lehni 2011-04-21 12:37:35 +0100
  • 4f8ffde130 Clean up Chain example a bit. Jürg Lehni 2011-04-21 12:36:46 +0100
  • d25ab05e25 Simplify vector geometry in Chain example. Jürg Lehni 2011-04-20 23:29:46 +0100
  • 1d92aea8e2 Fix Item#setSelected. Jonathan Puckey 2011-04-20 16:00:08 +0200
  • 877e9f324c Add port of Metaball script by Hiroyuki Sato to Examples. Jonathan Puckey 2011-04-20 15:41:09 +0200
  • 357e6f2db8 Some more work on the Flock example. Jonathan Puckey 2011-04-20 13:07:40 +0200
  • d8b933957a Add Chain example. Jonathan Puckey 2011-04-19 23:32:45 +0200
  • 63f1c66be3 Flock: credits & small changes. Jonathan Puckey 2011-04-19 23:32:34 +0200
  • 4d6687fd8d Flock: simplify grouping. Jonathan Puckey 2011-04-19 21:38:06 +0200
  • 3acb954350 Add Flock example. Jonathan Puckey 2011-04-19 21:27:59 +0200
  • 3fcfe3adbb Implement drawing of selection of PlacedSymbol & Raster items. Jonathan Puckey 2011-04-18 18:46:39 +0200
  • 0bc1a9aac6 Simplify BezierTool example. Jonathan Puckey 2011-04-18 18:12:00 +0200
  • d67953c1da RoundedRectangles: use onFrameLoop and other small changes. Jonathan Puckey 2011-04-18 17:48:48 +0200
  • 114c058fc6 BezierTool: check segment.point first. Jonathan Puckey 2011-04-18 17:31:05 +0200
  • 25b7219536 BezierTool example: small adjustment to instructions. Jonathan Puckey 2011-04-18 15:42:41 +0200
  • 8da6e7b883 BezierTool example: click and drag segment handles and points to move them and close the path when clicking on the first segment. Jonathan Puckey 2011-04-18 15:29:18 +0200
  • 4d5f4b32fc Letter example: select path to show how it is constructed. Jonathan Puckey 2011-04-17 18:55:16 +0200
  • f8548ca6d4 strokeBounds example: select one path, to show how it is constructed. Jonathan Puckey 2011-04-17 18:49:54 +0200
  • be9f312110 Implement a first version of drawing path selection. Jonathan Puckey 2011-04-17 18:46:35 +0200
  • 74cee4abef Implement Path#remove() and add tests for it. Jonathan Puckey 2011-04-13 16:16:32 +0200
  • 6d4d07f2a8 Path.Constructors: simply Path.Star constructor. Jonathan Puckey 2011-04-13 00:05:46 +0200
  • 8a113a1c84 Item: clean up white space. Jonathan Puckey 2011-04-12 14:37:52 +0200
  • 0d4517c77f Path: add todos for missing functions. Jonathan Puckey 2011-04-12 14:36:02 +0200
  • 60dca8c2e8 Path#cubicCurveTo: convert arguments to points first. Jonathan Puckey 2011-04-12 14:35:42 +0200
  • 91d8dd1187 Path: add todos for missing functions. Jonathan Puckey 2011-04-12 14:28:18 +0200
  • 491250ef14 Simplify Path.Star constructor. Jonathan Puckey 2011-04-12 14:20:56 +0200
  • 12de77eb42 Path.Constructors: implement Path.Star and add tests. Jonathan Puckey 2011-04-12 14:18:00 +0200
  • bd59e48682 Fix problem with Point constructor when passed { angle: 0, length: n }, by checking for undefined. Jonathan Puckey 2011-04-12 13:48:44 +0200
  • 2a9bbd3dee Fix Path#closePath & CompoundPath#closePath. Jonathan Puckey 2011-04-11 23:33:08 +0200
  • 499c421021 Implement Path#join(path) and add tests for it. Jonathan Puckey 2011-04-11 23:30:08 +0200
  • d02885cba7 Implement Item#isParent and add tests for it. Jonathan Puckey 2011-04-11 19:42:03 +0200
  • 594c11fedd CurveLocation: fix mistakes. Jonathan Puckey 2011-04-11 19:36:40 +0200
  • aa043428c0 CurveLocation: add empty line to end of file. Jonathan Puckey 2011-04-11 19:33:34 +0200
  • b46c6d0a29 Curve: implement getLocation(length), getLength(location), getTangent(length), getNormal(length) Jonathan Puckey 2011-04-11 19:32:19 +0200
  • d396f48c4b Implement CurveLocation. Jonathan Puckey 2011-04-11 19:27:11 +0200
  • 0f80b11a07 Add failing test for Curve#getParameter on a straight curve. Jonathan Puckey 2011-04-11 18:58:32 +0200
  • 5f05c85b42 Gradient: rename midPoint to rampPoint. Jonathan Puckey 2011-04-07 17:12:00 +0200
  • 277cf541de Small simplification in RadialRainbows example. Jonathan Puckey 2011-04-07 17:05:25 +0200
  • c875953198 Merge remote branch 'origin/master' Jonathan Puckey 2011-04-07 17:03:33 +0200
  • e76b6db5c0 Update RadialRainbows example to use the new changes in Gradient. Jonathan Puckey 2011-04-07 17:02:46 +0200
  • 06df8b1288 Allow Gradient constructor to receive an array of colors or [color, midPoint]. Also allow the user to specify the type of the gradient in the constructor. Jonathan Puckey 2011-04-07 17:01:49 +0200
  • 08d0499251 Change comment. Jürg Lehni 2011-03-25 19:58:20 +0200
  • e83195bb8f Add #first/lastCurve getters. Jürg Lehni 2011-03-25 19:58:02 +0200
  • 306c22e00c Remove TODO about bug that was fixed in the meantime. Jürg Lehni 2011-03-25 19:57:49 +0200
  • b5fdecf3d1 Rename ObservedRectangle to LinkedRectangle, ObservedPoint to LinkedPoint, and add more comments about what it is they are doing. Jürg Lehni 2011-03-22 17:27:46 +0000
  • dbb947b7aa Finish ObservedRectangle, by solving observer notification for all setters. Jürg Lehni 2011-03-22 17:15:56 +0000
  • 14010eb8b2 Format abscissas array for better reading. Jürg Lehni 2011-03-21 12:46:00 +0000
  • d99d07bda0 Update curve time parametrization example. Jürg Lehni 2011-03-20 11:41:58 +0000
  • 417d015eab Improve curve time parametrization precision by iteratively adding up sub-range lengths, and optimise speed by determining integration precision based on range size. Jürg Lehni 2011-03-20 11:38:06 +0000
  • a794816097 Fix wrong number of iterations in False Position method. Jürg Lehni 2011-03-20 02:03:26 +0000
  • 11e70c5069 Use fast Newton-Raphson Method for now. Jürg Lehni 2011-03-20 02:02:02 +0000
  • 0620a19eb9 Use False Position method as fall back in Newton-Raphson method, for accurate results in rare sitatuations wher the fast Newton-Raphson method fails. Jürg Lehni 2011-03-20 02:01:17 +0000
  • 02328287cb Use n=16 evaluations in integrations for now. Jürg Lehni 2011-03-20 02:00:15 +0000
  • 500942e86d Improve Numerical.integrate() by adding higher precision and supported iterations of up to n = 16. Jürg Lehni 2011-03-20 01:59:53 +0000
  • c1d70c90bb Add example for curve time parametrization testing. Jürg Lehni 2011-03-20 00:11:06 +0000
  • 7ae504e51f Add support for Item#removeOnMove(). Jürg Lehni 2011-03-20 00:11:02 +0000
  • ad71293983 Remove Van Wijngaarden–Dekker–Brent method again as it led to imprecise results, and experiment with the very fast Newton-Raphson method (keeping False Position as a possible fallback for now). Jürg Lehni 2011-03-20 00:04:33 +0000
  • 2c9d168224 Clean up and improve Path drawing commands. Jürg Lehni 2011-03-19 23:09:17 +0000