Dobes Vandermeer
30319a3425
And a few more places with bad throws.
2013-01-29 12:47:55 -08:00
evancz
d4ba8068d5
Ensure that gifs work in collages in all browsers.
...
Add the `arrows` and `wasd` values to the Keyboard library. Makes it way way easier to deal with directional input.
2013-01-06 04:21:29 -08:00
evancz
87eaa915c8
Fix the middleAt
function.
2012-11-25 14:19:14 -08:00
evancz
d4012e466a
Add a way to construct HSV colors with hsv
and hsva
. Also add a now
function to Date
.
2012-11-22 20:32:32 -08:00
evancz
e85f31fda5
New way to import that does not clutter global namespace. Switch uses of Nothing
and Just
to simpler expressions.
...
Fix IE9 bug due to `console.log`.
2012-11-20 23:18:32 -08:00
evancz
354c2efe43
Get rid of more closure compiler errors.
2012-11-14 00:30:06 -08:00
evancz
f508072988
Updates to get rid of closure compiler errors.
2012-11-14 00:06:22 -08:00
evancz
64a1d9fa5b
Allow fittedImage
to handle animated gifs!
2012-11-04 15:15:26 -08:00
evancz
bff94a0d0d
Add the complement
function that finds complementary colors.
2012-10-23 01:12:44 -07:00
evancz
e52ece9b73
Get rid of Graphics
module prefix.
2012-10-22 00:17:51 -07:00
evancz
7c319fe4c5
Rewrite core-js to remove prefixes and change global Elm prefix from ElmCode
to Elm
.
2012-10-16 22:02:35 -07:00
evancz
bdb898df65
Rename libraries, dropping prefixes. This probably introduces some bugs.
2012-10-15 23:03:14 -07:00
evancz
16895c4384
Add monospace
back to asText
2012-10-04 12:18:01 -04:00
evancz
961a74df67
Change direction of vector rotation. I.e. Add a minus sign. Off by one character!
2012-10-04 01:57:15 -04:00
evancz
0a1461d7b0
Make vector rotation more efficient in insideForm
.
2012-10-04 01:49:46 -04:00
evancz
02adbe1e40
Change the type of show
. It now produces a String
.
2012-10-04 00:54:41 -04:00
evancz
6a4cf28866
Add a bunch of functions to classify chars.
...
Remove an unnecessary `console.log`
2012-10-04 00:39:00 -04:00
evancz
c9c17b34ef
Rename insideForm
to isWithin
.
...
Rename `foldp1` to `foldp'`, I think the previous name suggests different behavior.
Add `foldp1 :: (a -> a -> a) -> Signal a -> Signal a`
Add type hints for all of these functions.
2012-10-02 22:57:52 -04:00
evancz
bb1d53de2e
add insideForm :: Point -> Form -> Bool
function that checks to see if a point is inside of a form.
2012-09-27 17:18:29 -04:00
evancz
8a79164a21
Distinguish between DOM nodes created by Elm and ones imported from JS.
2012-09-13 21:28:16 -07:00
evancz
bcfdf66ed9
Add images
function.
2012-09-13 12:25:14 -07:00
evancz
5fbc042066
Fix size analysis of text in IE and FireFox
2012-09-11 13:57:42 -07:00
evancz
38d0e8f2e6
Add support for links and DOM nodes. Fix lots of bugs.
2012-09-11 02:52:03 -07:00
evancz
0e613a1058
Include Graphics.Element by default. Fix bugs for fittedImage
and change when the string for video
is converted to a JSString.
2012-09-02 00:27:36 -05:00
evancz
2f5d4459ef
Fix up graphics libraries:
...
- All basic elements can now be displayed and updated. Updates no longer rebuild the whole scene; instead they only replace as necessary.
- Add `container` primitive which allows people to position Elements in a more flexible way.
- Collages can now handle sprites, textures, and Elements!
Still need to work on making Signal.Input play nice with the new Graphics libs.
2012-09-01 16:38:09 -05:00
evancz
1501160bac
Begin rewrite of rendering engine.
2012-08-31 01:42:33 -05:00