Commit Graph

64 Commits

Author SHA1 Message Date
juliandescottes
4c4faa88e6 Moved drawing logic outside of tools. Previews and animations are broken. Performance is somehow degraded 2012-09-04 14:10:16 +02:00
Vince
d7044dc44d Cleanup of piskel.js
Partial cleanup of piskel:
  new events and constant
  move palette and color picker in ToolSelector
  create Notifcation.js and move user message in it
  create LocalStorageService and move LS stuff in it
2012-09-03 01:24:55 +02:00
Vince
946444a16b Adding rectangle tool 2012-09-02 13:19:20 +02:00
Vince
4622cf67a7 Adding support for transparent color 2012-09-02 01:41:49 +02:00
Vince
700c6ab144 Stroke tool
Add stroke tool
new icons for tools
started some refactoring to help having a big redraw loop
2012-09-02 00:44:55 +02:00
Vince
6b7294e8c5 Shit merge 2012-09-01 02:17:24 +02:00
Vince
ca04f8db4d Tool plugin architecture with eraser/pen/paintbucket tools. 2012-09-01 01:21:58 +02:00
juliandescottes
509ffcea2a Added message when loading an animation from Service 2012-08-30 16:30:22 +02:00
Vince
6cc8534041 Adding localstorage support 2012-08-29 23:01:04 +02:00
juliandescottes
6d2b1944fa Use slider for choosing FPS 2012-08-29 13:46:57 +02:00
Firstname Lastname
3a4ef0d6eb palette finished + firefox fix 2012-08-29 10:46:25 +02:00
Vince
651563f793 FrameSheet model object migration
Migration to a Domain object (currently a FrameSheetModel, feel free to
change its name). The model is being used by the slideshow (drawing
each tiles), animation preview (drawing animation) and drawing (update
model and redraw current tile).
Now the rendering information are not stored in a canvas element that
you paste from canvas to canvas but centralize in this model. The frame
is described as an array of array: that will allow different rendering
using the dpi constants and more flexibility (e.g. drawing a grid,
serializing the data).

Some minor modifications:
  - cleaning markup
  - adding background image to highlight transparent area
2012-08-27 02:05:13 +02:00
Vince
1f95b8611b Delete/Duplicate actions for tile preview + FPS tuner for animated preview 2012-08-25 02:25:44 +02:00
Julian Descottes
1b44e3fd48 Initial commit from dropbox
Basic features :
Can create frames
Can edit frames (black and white only)
Can select the frame to edit
Animated preview

And that's it.

Really tired and code is extremely ugly, just needed to do something
that _works_
2012-08-23 00:57:35 +02:00