Elliot
006121da91
Fix extension buttons spacing, add extension example ( #229 )
...
* Fix extension buttons spacing & styles
* Refactor extension button styles
* Clean up extension prism
2022-06-26 16:00:59 +00:00
Cole Lawrence
7b337a9731
doc(playground dev): Live reload README.md
...
Co-authored-by: Elliot <key.draw@gmail.com>
2022-06-24 09:52:56 -04:00
Cole Lawrence
df05be3c1e
dev playground: Remove mention and dependency on vite
2022-06-24 09:52:56 -04:00
Cole Lawrence
2a93aa3cdc
dev playground: Watch and rewrite custom index.html files
2022-06-24 09:52:56 -04:00
Cole Lawrence
aa60556046
dev: Playground "dom" offsets new boxes
2022-06-24 09:52:56 -04:00
Cole Lawrence
f70eea1c48
dev: Playground enable custom html landing page
2022-06-24 09:52:56 -04:00
Cole Lawrence
6dc68d9ae9
fix playground navigation by disabling live-reload for iframed
2022-06-22 14:58:15 -04:00
Cole Lawrence
92921734e9
docs: Remove redundant doc comment
2022-06-22 14:58:15 -04:00
Cole Lawrence
16e255fd57
dev: Initial playground re-design ( #218 )
...
Improve the landing page for playground items.
2022-06-17 19:23:35 +00:00
Cole Lawrence
df692427ca
dev: Build playground files much faster and add watch
2022-06-16 17:10:43 -04:00
Cole Lawrence
87070bcdf3
dev playground: Start dev server even if first build is error + remove redundant error logs
2022-06-13 11:27:36 -04:00
Cole Lawrence
4d4d970278
dev playground: Support auto port assignment + refactor
2022-06-13 09:22:14 -04:00
Cole Lawrence
8f0f76df54
rename playground build.ts
2022-06-13 09:22:14 -04:00
Andrew Prifer
162174568b
Replace Vite with ESBuild for the playground ( #213 )
2022-06-13 12:47:07 +00:00
Andrew Prifer
34c7b06baf
Improve dom example performance ( #208 )
...
Apply animation in dom example in a performant way
2022-06-10 15:27:33 +02:00
Aria
4215d561d0
Upgrade percy ( #207 )
2022-06-10 13:16:34 +02:00
Andrew Prifer
763d37aee3
UI fixes ( #187 )
...
Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
2022-06-01 14:46:37 +02:00
Aria
9b4aa4b0e0
Make @theatre/r3f
play well with different vs of react,three,r3f #177
2022-05-27 21:59:51 +02:00
Andrew Prifer
0690a85ae2
UI improvements/sidebar pinning ( #175 )
...
Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
2022-05-25 20:42:01 +02:00
Aria
ec18687a98
Re-do bundling, compat tests, and extension API ( #174 )
2022-05-25 00:37:18 +02:00
Cole Lawrence
5ee9a2543f
playground(dom): Add nested compound prop "favoriteFood"
2022-05-23 12:46:30 -04:00
Cole Lawrence
75a20c50ac
Add "Example Namespace / *" to some objects in r3f-rocket
2022-05-20 07:46:17 -04:00
Cole Lawrence
84daaaf94a
dev: Add configurable ITheatreLogger
...
Addresses the lack of options we currently have for surfacing issues in
our application via debugging tools. Prioritizes performance and
usability (visually) over clarity in some places that could have been
object mapped.
A logger with three separate audiences:
* `internal`: Logs for developers maintaining Theatre.js
* `dev`: Logs for developers using Theatre.js
* `public`: Logs for everyone
This logger supports:
* multiple logging levels (error, warn, debug, trace),
* multiple audience levels (internal, dev, public),
* multiple categories (general, todo, troubleshooting)
* named and keyed loggers (e.g.
`rootLogger.named("Project", project.id)`)
* console styling with deterministic coloring
* console devtool maintains accurate sourcemap link to logging origin
(e.g. `coreExports.ts:71` as opposed to `logger.ts:45` or whatever)
* swappable logger
* customizable filtering
* Accepts lazy `args`: `args: () => object` via
`logger.lazy.<level>("message", () => <expensive computation>)` (e.g.
`logger.lazy.debugDev("Loaded project state", () => ({ save: bigProject.exportToSaveable() }))`)
2022-05-19 16:34:34 -04:00
Andrew Prifer
95d4e1d315
Create reference window for r3f ( #169 )
...
* Add reference window (and fix tooltips)
* Replace image with data url so the build doesn't fail
2022-05-18 17:04:07 +02:00
Andrew Prifer
fc9df7c346
Support multiple sheet instances ( #153 )
...
* Support multiple/nested sheets and sheet instances
* Add playground for instances
* Fix playground and example
* Change r3f's objectKey to storeKey to avoid confusion
* Update all editable/uniqueName variables used as store key to storeKey too
* Fix lint warnings
2022-05-16 12:43:45 +02:00
Andrew Prifer
10b4954ee2
Support fog editing in r3f second try ( #163 )
...
* Add support for editable fog
* Oops
2022-05-15 22:04:00 +02:00
Andrew Prifer
ef96fa1974
Revert "Merge pull request #161 " ( #162 )
...
This reverts commit 5bd224ae86
.
2022-05-15 22:00:54 +02:00
Andrew Prifer
5bd224ae86
Merge pull request #161
...
* Add support for editable fog
2022-05-15 21:54:02 +02:00
Andrew Prifer
dceb3965d6
Make editable
schema-based and add default schemas ( #139 )
...
* Make editable schema based and fix a couple UX issues
* Refactor the icons a bit
* Add support for points, lines, line segments, and line loops
* Adjust nudge multipliers
* Fix types
* Fix helpers not showing on hover in some cases
2022-05-04 16:43:44 +02:00
Andrew Prifer
d85e3053af
Fix r3f example not actually making the editable camera defined in the scene the defaul ( #78 )
...
* Fix e.perspectiveCamera -> editable(PerspectiveCamera)
* Also fix the one in the examples directory
* Update fix to latest version
2022-05-01 14:59:52 +02:00
Fülöp
d6353aeb0b
Test vercel deployments ( #133 )
...
Move the vercel config to packages/playground after setting the root of the Vercel project to packages/plaground (in the Vercel webapp).
2022-04-27 15:34:30 +02:00
Cole Lawrence
48d0d18e10
Fix playground html dom tags
2022-04-20 11:23:29 -04:00
Aria
139c3ed556
Set up netlify builds ( #100 )
2022-03-18 15:58:26 +01:00
Fulop
fb7467862b
Update the playground README.md ( #93 )
2022-03-03 09:46:01 +01:00
Aria Minaei
5f01ef0821
Fix the structure of the r3f playground
2022-03-02 23:13:31 +01:00
Aria
d0965d17e4
Set up end-to-end tests ( #85 )
2022-02-28 13:15:27 +01:00
Aria
3c369b435e
Use vite for playground ( #84 )
2022-02-27 21:25:15 +01:00
Andrew Prifer
defb538561
Create color prop ( #64 )
...
Authored by andrew@theatrejs.com
2022-02-19 17:54:19 +01:00
cory-glooh
4a65c6e91c
All prop sequencing ( #48 )
2021-11-02 14:50:08 +01:00
Aria Minaei
ef91bf7229
More contribution docs
2021-10-06 10:21:55 +02:00
Aria Minaei
5873e65d4d
More docs
2021-10-05 12:22:43 +02:00
Jørn Myrland
bf0367bd0d
Improves scroll interaction for sequence editor
...
- Scroll paning (`shift + scroll`) is now synced for the keyframe viewport, easing viewport and scrollbar (Closes #22 )
- Scroll zooming out (`ctrl + scroll down`) is now bounded to avoid zooming out to infinity (Closes #19 )
There is still some quirky behaviour when using scroll to zoom inwards. It does not seem to respect the `pivotPointInUnitSpace` correctly. I've tried fixing it, but I've hit a dead end.
2021-10-04 20:51:53 +02:00
Aria Minaei
4d49a8bdd6
playground now has a shared folder and a personal folder
2021-10-04 20:25:38 +02:00
Aria Minaei
972be000c8
Updated playground
2021-10-01 10:53:48 +02:00
Aria Minaei
fe4010c2c6
Properly handle sequence.play({range}) for range[0] > 0.
...
Fixes #15
2021-09-21 21:22:47 +02:00
Aria Minaei
631bcba724
More docs and annotations
2021-09-18 21:43:29 +02:00
Aria Minaei
eea1f424fc
Minor changes
2021-09-12 21:21:49 +02:00
Aria Minaei
f6cf3711f4
More progress on shorthand types
2021-09-06 11:26:00 +02:00
Aria Minaei
4f66d57cf8
Renamed @theatre/plugin-r3f to @theatre/r3f
2021-09-06 10:19:10 +02:00
Aria Minaei
5295f9ae91
r3f sheets are now re-usable
2021-09-05 23:33:17 +02:00
Aria Minaei
7af470a053
Made the extension mechanism in r3f explicit
2021-09-05 23:24:53 +02:00
Aria Minaei
2ecf690a66
Fixed the dom playground
2021-09-05 22:16:14 +02:00
Aria Minaei
400b55bf09
Bugfix
2021-09-05 17:45:51 +02:00
Aria Minaei
9955730876
API tweaks
2021-09-03 19:29:21 +02:00
Aria Minaei
6b373ccae5
Removed nativeObject from the API
2021-09-02 10:26:39 +02:00
Aria Minaei
5d37c15173
Upgrade deps
2021-09-01 10:41:54 +02:00
Aria Minaei
a8df97a06a
API naming tweaks
2021-09-01 10:36:44 +02:00
Aria Minaei
e6a4f3ae3f
Implemented useRefreshSnapshot()
and <RefreshSnapshot />
2021-08-08 22:38:03 +02:00
Aria Minaei
d1fb0300e0
R3F now uses a single sheet in studio
2021-08-08 22:25:48 +02:00
Aria Minaei
1916747e8b
Upgrade typescript
2021-08-08 10:12:23 +02:00
Aria Minaei
824fdd6843
Progress with cra
2021-08-07 22:30:29 +02:00
Aria Minaei
1497eaf610
WIP: Getting r3f to work with create-react-app
...
* Temporarily disabled ESM bundles because the current setup confuses webpack4 (but not parceljs). Since create-react-app uses webpack4, not doing this would make theatre incompatible with CRA.
2021-08-07 21:41:07 +02:00
Aria Minaei
816e67a814
Stronger visual feedback for keyframe snapping
2021-08-07 11:18:01 +02:00
Aria Minaei
65463dfdc6
deprecate bindToCanvas() in favor of <Wrapper>
2021-07-30 16:31:18 +02:00
Aria Minaei
215cd880f0
UX Improvements
...
* The cam state of SnapshotEditor cameras now persist
* Title bar for the prop editor
* Cleaned up the toolbar
2021-07-30 10:59:59 +02:00
Aria Minaei
da230fbacc
Style tweaks
2021-07-23 14:04:01 +02:00
Aria Minaei
a11918fc20
Better BG for the space playground
2021-07-22 21:25:50 +02:00
Aria Minaei
3aa73b66ff
Fix type errors
2021-07-16 11:25:03 +02:00
Aria Minaei
ea66855e01
Typo
2021-07-16 09:58:48 +02:00
Aria Minaei
cf99805f89
Added another example
2021-07-15 15:19:56 +02:00
Aria Minaei
1886d6ba94
Fix the build
2021-07-05 15:23:54 +02:00
Aria Minaei
2a671b129d
Chore: Simplified ISheet's signature
2021-07-03 15:36:00 +02:00
Aria Minaei
d416da5a2f
Chore: Small refactor of r3f's store
2021-06-29 15:39:47 +02:00
Aria Minaei
2342e83d49
Chore: Removed the "source" field from manifests
2021-06-28 12:30:36 +02:00
Aria Minaei
7c3095ac5a
Chore: Marked the playground package as private
2021-06-25 14:36:50 +02:00
Aria Minaei
6596c811d7
Build: The bundle script now generates multiple bundles for different formats
2021-06-21 14:05:48 +02:00
Aria Minaei
7c2e12c233
(WIP) Switch the rest of the build setup to esbuild - 1
2021-06-18 21:03:44 +02:00
Aria Minaei
39a2645d65
Simplify project config
2021-06-18 20:35:01 +02:00
Aria Minaei
4a7303f40a
Initial OSS commit
2021-06-18 13:05:06 +02:00