Commit graph

  • 8efb996d1c added hex2rgb and getGradient, pretty much self-explanitory master Dominick Pham 2010-05-08 17:02:47 -04:00
  • fdffdafca8 if the canvas element exists, call the draw method with the canvas_id as parameter, added a reset image button to undo the HSB sort Dominick Pham 2010-05-08 15:24:47 -04:00
  • e1ca9115ea refactored some stuff, also took advantage of the native js sort function Dominick Pham 2010-05-04 21:34:07 -04:00
  • 560a57e506 Unrolling changes after presentation, fixing license Ryan McGrath 2010-02-03 13:48:14 -05:00
  • b7d697f992 Begin work on not requiring an existing <canvas> element - create a new one off the viewport (visibility: hidden'd) for each new franz generated. Basic work on a draw() method that accepts an id for an existing <canvas> and will re-draw the image to that. This allows the library to remain pure with any image dealings, but gives the user control over redraw if they so desire it Veno Server 2009-10-22 00:39:03 -05:00
  • 8e985309ff Some old stuff I had laying around in a work folder - massive refactoring ahoy Ryan McGrath 2009-10-20 17:56:09 -04:00
  • 595abe62c6 Removing index2 Ryan McGrath 2009-10-20 14:32:45 -04:00
  • 30e385c55f Minor sanity check fixes in functions - don't attempt to deep clone an object that might not exist, check for the existance of a native Array.swap before implementing our own, and properly check for jQuery support when displaying changes (ideally this'll be moved out anyway) Veno Server 2009-10-02 02:16:49 -05:00
  • f865073ea8 Merged Texture work over to the main index. Using a hidden <canvas>, we can now draw their selected color in with a transparent texture PNG, get the base64 encoded string, and apply it to the mini layout - total ownage. :D Veno Server 2009-09-04 02:24:03 -05:00
  • c03bdafd3c Initial work on Texture theory. This attempt looks at using source PNG files to overlay over a <canvas> element, since drawing complex shapes could get somewhat complex, and <canvas> is a pure drawing API. Seems to work well enough, disregarding my horrible 3AM example PNG. ;P Veno Server 2009-08-31 02:24:35 -05:00
  • 18c87c2c16 Finalized the layout color applying part, at least in terms of a POC. Now we have a solid base to work on auto-applying kickass color schemes that we build from the picture. Veno Server 2009-08-26 03:12:25 -05:00
  • eebe7d1681 Started building a mini layout-color-switcher to test applying color formulas to a layout scheme. Ended up getting drawn away for an hour tracking down a bug for work, but I wanted to make sure this stuff was committed - I'll probably pick this up later tonight, provided I don't pass out or something. Veno Server 2009-08-25 03:53:19 -05:00
  • cd9cd23727 added density function back in Dominick Pham 2009-08-23 23:53:45 -04:00
  • e19f1c475c Added in methods to generate the hex code when a user clicks on one of the outputted boxes Veno Server 2009-08-18 02:16:14 -05:00
  • cdc4218e3a Now that we've finished profiling the dev thread, we can safely make it the default view. Huzzah for more color data? Veno Server 2009-08-18 01:38:25 -05:00
  • 35a2eb79d4 made dev look prettier and removed the log in dev.js (dunno why you kept it in there - it was only sorting the first 20x20 set of data) Dominick Pham 2009-08-15 01:01:33 -04:00
  • c872e9a031 frequency of values in a certain range - no loop arounds for cylindrical domain yet. Since we shouldn't expect a single hue, val, or sat to appear multiple times, we should really be looking at how often a range of them occur. There's probably a better solution for frequency probablity but this should work for now Dominick Pham 2009-08-14 02:35:01 -04:00
  • bed7617530 Adding development versions, use these for profiling core franz issues Veno Server 2009-08-14 01:13:12 -05:00
  • e4a057b990 remove objects, speed up processing Dominick Pham 2009-08-14 01:36:53 -04:00
  • b5d19780b2 Merge branch 'master' of git@github.com:ryanmcgrath/franz Veno Server 2009-08-14 00:31:04 -05:00
  • fc553ae85b Fixing object error... Veno Server 2009-08-14 00:30:52 -05:00
  • 63b2fd8d16 Merge with Ryan, added log in bubblesort to show data inconsistencies Dominick Pham 2009-08-14 01:17:49 -04:00
  • 8351f9b6bf sort function with a few logs to show data inconsistency. Dominick Pham 2009-08-14 01:13:43 -04:00
  • de6dca8afc Merge branch 'master' of git@github.com:ryanmcgrath/franz Veno Server 2009-08-13 23:54:40 -05:00
  • 4fe6ed90ca Efforts to speed up application; initially ran around ~50ms on initial data loops, now runs in the ~30ms range. Doing division in JS over large loops == insane, I'm guessing because everything is floating point. Multiply by 0.5 instead and we get some nice speedups (odd, I know; best answer I can muster...). Veno Server 2009-08-13 23:53:57 -05:00
  • c26fdfb105 different (hopefully better) sort function, cleaned up some stuff in the js Dominick Pham 2009-08-14 00:39:35 -04:00
  • 70dfb93447 Moving default pictures into the awesome/ directory, just so the main directory is clean. It's been bugging me for a bit of time now... Veno Server 2009-08-13 22:36:46 -05:00
  • 1c8124296f Merge branch 'master' of git@github.com:ryanmcgrath/franz Veno Server 2009-08-12 12:16:24 -05:00
  • a467bca5e3 Incremental Veno Server 2009-08-12 12:16:14 -05:00
  • 9446513091 Incremental Veno Server 2009-08-12 12:15:53 -05:00
  • 1656021a94 just putting back the Value option for the Hue-Sat-Val transformation Dominick Pham 2009-08-12 00:49:13 -04:00
  • e214d2d6ab Removing .html, as it's all php now Veno Server 2009-08-11 21:48:12 -05:00
  • 6dd80339fb Merging with Dominicks most recent work... Veno Server 2009-08-11 21:46:36 -05:00
  • 124af1d05c Massive amount of changes. Now requires PHP for image uploading; front-end changes bring in uploader and some other fixes. Veno Server 2009-08-11 21:34:57 -05:00
  • 5f11169ef1 Added the Saturation and Lightness transformation for HSL color scheme Dominick Pham 2009-08-11 22:09:19 -04:00
  • 3ab509a368 condensed the display method to be reusable - would really come in handy after I create the RGB to HSL transformation Dominick Pham 2009-08-11 21:26:37 -04:00
  • f82d359803 Merge branch 'master' of git@github.com:ryanmcgrath/franz Veno Server 2009-08-11 19:59:03 -05:00
  • 33237be304 Removing rgb_obj - browser choked on too many nested objects. Such a shame. Veno Server 2009-08-11 19:58:59 -05:00
  • 8f333b1715 Minor CSS changes Veno Server 2009-08-11 19:58:28 -05:00
  • de7059f52e Merge branch 'master' of github.com:ryanmcgrath/franz Dominick Pham 2009-08-11 20:52:48 -04:00
  • fcf4cde51d made a clone when doing HSV sort so we retain the origin HSV data Dominick Pham 2009-08-11 20:50:32 -04:00
  • a602d7d657 franz.rbg_obj returns an obj representing the rbga format... perhaps this would make arrays more sensible? Veno Server 2009-08-11 19:39:11 -05:00
  • 25a926abd5 Recursion on objects inside arrays was broken because of how I was referencing the clone method. Fixed... Veno Server 2009-08-11 19:35:59 -05:00
  • 5b5e236b38 Added franz.clone(), which copies full objects via recursion. Localized into franz because various libraries already modify the Object prototype, and it ends up causing conflicts. (This works for deep copying as well) Veno Server 2009-08-11 19:29:44 -05:00
  • 39b27c90e9 fixed sorting of HSV and made helper subroutines for them Dominick Pham 2009-08-11 19:43:01 -04:00
  • 9457630531 fixed sorting issues for the HSV domain, also made helper subroutine out of hue, sat, val Dominick Pham 2009-08-11 19:37:07 -04:00
  • 74c0751819 Logging Ryan McGrath 2009-08-11 17:40:08 -04:00
  • 905a03075c merging from my fork Dominick Pham 2009-08-11 17:16:09 -04:00
  • 2fa4fb4414 Initial commit, working version Ryan McGrath 2009-08-10 21:58:13 -04:00