You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,15 @@
1
1
# Updates
2
2
3
+
## `0.1.0` (2025-08-23).
4
+
5
+
With significant improvements particularly on the iOS side, it's been decided to move up to an `0.1.0` release. Note that there are a few **breaking changes** with 0.1.0, particularly with initialising the `Webcam` and the `DeviceOrientationControls`. Please see the examples and the tutorial.
6
+
7
+
- Many iOS enhancements, thanks to [Darian Elias Weiß](https://github.com/darianwwu) through [PR #16](https://github.com/AR-js-org/locar.js/pull/16) which provides a range of enhancements providing fixes for sensor handling on iOS and consistency between iOS and Android.
8
+
9
+
- Improved event handling system giving developers more flexibility in error handling, fixing [issue #10](https://github.com/AR-js-org/locar.js/issues/10).
10
+
11
+
## Older updates
12
+
3
13
-`0.0.12` (2025-05-25) - `DeviceOrientationControls` now takes `options` object which allows the specification of the `smoothingFactor`, like original AR.js.
4
14
5
15
-`0.0.11` (2025-04-19) - separated out A-Frame API into own package `locar-aframe` for greater modularity.
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,6 @@
2
2
3
3
Location-based AR from AR.js.
4
4
5
-
**This is the `PR16` branch of LocAR.js, incorporating the improved event-handling system in issue #10 and pull request #16. It is currently untested on iOS devices. This distribution is not available on `npm`; you have to build it yourself (version `0.0.13-pre3`; use the tarball). If you want to work with A-Frame you also need to build the matching [locar-aframe.js](https://github.com/AR-js-org/locar-aframe.js) distribution, again the `PR16` branch, version `0.0.4-pre2` and maybe modify the path to `locar-aframe.js` in the examples `package.json`.**
6
-
7
5
## What is this?
8
6
9
7
LocAR.js is an AR.js project to develop a library focused specifically on location-based augmented reality in the browser. Currently it consists of the location-based three.js code from [the main AR.js repository](https://github.com/AR-js-org/AR.js), with some minor changes to make it compatible with latest versions (0.175.0 at time of writing) of three.js.
@@ -24,7 +22,9 @@ Some of these issues, such as incorrect North on some devices, may well be to do
24
22
25
23
## Cross-platform Compatibility
26
24
27
-
Chrome on Android is recommended. It may also work on Chrome in iOS; please file an issue if not. It will not work on Safari on iOS, due to permissions issues - **though pull requests are welcome to fix this**. Firefox unfortunately does not appear to fully implement the Device Orientation API so is unlikely to work
25
+
It should now work on Chrome (and possibly Safari) on iOS as well as Android, due to a number of recent iOS fixes by project contributors.
26
+
27
+
Firefox unfortunately does not appear to fully implement the Device Orientation API so is unlikely to work.
28
28
29
29
## Using the library
30
30
@@ -42,7 +42,7 @@ import * as LocAR from 'locar';
42
42
as long as you include `locar` as a dependency, e.g. in your `package.json`:
43
43
```
44
44
"dependencies": {
45
-
"locar" : "^0.0.11",
45
+
"locar" : "^0.1.0",
46
46
"three" : "^0.175.0"
47
47
}
48
48
```
@@ -57,6 +57,10 @@ Please see [here](https://ar-js-org.github.io/locar.js/api) for full API documen
57
57
58
58
Please see [here](https://github.com/AR-js-org/locar.js/blob/master/docs/tutorial/index.md) for a tutorial introducing LocAR.js.
59
59
60
+
## Contributors
61
+
62
+
Many thanks to all contributors to the project, in particular [Darian Elias Weiß](https://github.com/darianwwu) and [Kazuhiro Matsuyama](https://github.com/ma2yama) for providing extremely valuable iOS fixes and enhancements.
63
+
60
64
## Disclaimer
61
65
62
66
This is an open-source project licensed under the [MIT License](LICENSE) and thus comes with no warranty. Also it is a volunteer-led project; work on the project by AR.js maintainers or any other contributor will be undertaken *time-permitting* only. For this reason we welcome contributors! The more people working on the project, the more likely it is that it will become full-featured and issues will be resolved.
0 commit comments