Skip to content

Releases: harshkhandeparkar/gpujs-real-renderer

Per Tool Settings

Per Tool Settings Pre-release
Pre-release

Choose a tag to compare

@harshkhandeparkar harshkhandeparkar released this 27 Feb 06:41

Removed (RealDrawBoard)

  • changeBrushSize, changeBrushColor and changeEraserSize methods: Dropped in favor of the changeToolSetting method.
  • brushSize, brushColor and eraserSize properties: In favor of the toolSettings property.

Added (RealDrawBoard)

  • toolSettings property: Stores the settings for all the tools. See README.
  • changeToolSetting method: Changes a specific setting. See README.
  • changeRate tool setting: To change the rate at which the rainbow_brush tool changes color.
  • lineThickness and lineColor tool settings: To separately set the line and brush colors.

Rainbows!

Rainbows! Pre-release
Pre-release

Choose a tag to compare

@harshkhandeparkar harshkhandeparkar released this 27 Feb 04:00

Added(RealDrawBoard)

  • New tool rainbow_brush. See README.

Optimized Snapshots

Optimized Snapshots Pre-release
Pre-release

Choose a tag to compare

@harshkhandeparkar harshkhandeparkar released this 20 Feb 18:38

Changed

  • <RealDrawBoard>: Undo snapshot order changed so that the whiteboard changes first.

Fixed

  • <RealDrawBoard>: Line tool works with undos.

Superfast Snapshots!

Superfast Snapshots! Pre-release
Pre-release

Choose a tag to compare

@harshkhandeparkar harshkhandeparkar released this 20 Feb 18:03

Changed

  • <RealRenderer>: loadData() and getData() use 3D arrays instead of flattened arrays which reduces time by cutting the extra flattening step.

Optimizations, Optimizations and Optimizations

Choose a tag to compare

@harshkhandeparkar harshkhandeparkar released this 17 Feb 05:48

Changed (RealDrawBoard)

  • If undos are off, board initializes and clears RAPIDLY.
  • Drawing on the board is faster.
  • Preview are faster.
  • Everything is better.

Infinitely Better Anti Aliasing

Pre-release

Choose a tag to compare

@harshkhandeparkar harshkhandeparkar released this 16 Feb 05:52

Changed

Better Line Tool Preview

Pre-release

Choose a tag to compare

@harshkhandeparkar harshkhandeparkar released this 15 Feb 07:54

Fixed

  • : Preview for the Line Tool has rounded corners both at the start and the end of the line.

Tools!

Tools! Pre-release
Pre-release

Choose a tag to compare

@harshkhandeparkar harshkhandeparkar released this 13 Feb 20:01

Changed

  • : mode to tool and changeMode to changeTool. Also changed the tool names to brush and eraser from paint and erase. This is done in order to add newer tools. See docs.

Added

  • : New line tool! Can be used to draw straight lines. See docs.

Undo Optimizations

Undo Optimizations Pre-release
Pre-release

Choose a tag to compare

@harshkhandeparkar harshkhandeparkar released this 04 Feb 04:50

Added

  • : Added an option allowUndo to turn off undos. Undos turned off by default due to performace issues.

Fixed

  • : The option maxUndos works correctly.

Data Loading and Better Undos!

Pre-release

Choose a tag to compare

@harshkhandeparkar harshkhandeparkar released this 29 Jan 06:38

Added

  • : getData and loadData methods to get a snapshot of the current pixels and load a snapshot.
  • : maxUndos option to specify a limit on the number of undos.

Fixed

  • Undos are now more accurate.
  • Undos are also much much faster!