CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.93k stars 3.48k forks source link

Ideas for extra Sandcastle tools #10308

Open ebogo1 opened 2 years ago

ebogo1 commented 2 years ago

We've had internal talks about ideas for a Sandcastle 2.0 but recently there have been a couple ideas for improvements that could maybe be added to the current Sandcastle. This issue can be used to track discussion about these ideas and any related ideas that come up.

ptrgags commented 2 years ago

Another idea is to add a button to capture the current camera parameters and print them to the console for quickly setting up a scene with a fixed view. This Sandcastle gives an example.

This would be quite useful, but the tricky part is how to give the toolbar button access to the viewer variable which is function-scoped in each HTML file.

jdfwarrior commented 2 years ago
  1. Something like monaco editor for writing code in the sandcastle
  2. Better layout for looking through demos. Smaller image, with descriptions and tags/keywords for searching them?
  3. Search/filter for demos
jjhembd commented 8 months ago

When prototyping in Sandcastle, it is easy to lose a lot of work if the browser crashes, because the browser URL doesn't update. My current practice is to manually save updated links in a separate document.

I can think of 2 ways to streamline this process:

Either way, the different versions of the code would then be saved in browser history.