guide
What each part of ducklet is called elsewhere: Gymnasium, scikit-learn, Optuna, OR-Tools and the rest
A map from ducklet's simulation, robotics, machine learning and solver files to the standard tools that do the same job, and which parts are stock libraries.
Physics, schedules, traffic, training and a solver all run in a browser tab in ducklet, each from a plain file. If you already know the usual tools, this page says which file is which, which parts are a stock library running as it ships, and which were written here because nothing stock runs in a browser. In the terminal, help elsewhere prints the same map, and a file that has not been run yet says its line on its first-run card.
Stock libraries, used as they ship
models/*.xml, *.urdfare MJCF and URDF robot models, stepped by MuJoCo itself in its official WebAssembly build.physics/*.tomlis a MuJoCo rollout: the model it names stepped for itsseconds, asmj_stepin a Python loop does.ctrlis the control signal (data.ctrl),keyframeis the model's own<key>, andpolicyis an ONNX policy as Isaac Lab or mjlab export one. A scene'ssimblock says the same run in place.problems/*.tomlstate a constraint problem as tables, the way a MiniZinc model with its data or an OR-ToolsCpModeldoes. OR-Tools CP-SAT solves it, andsolve --export model.pbwrites OR-Tools' ownCpModelProto, so the same model runs anywhere CP-SAT does.*.onnxnetworks, as policies or as models scored on a table, run on ONNX Runtime Web.
Written here, and what they stand for
Each of these says why it is not the standard tool: most because the standard one needs Python, CUDA or a server, which a browser tab does not have, and a few by choice, which help elsewhere marks.
learn/*.tomlis a Gymnasium environment and its trainer in one file.[observe],[act],[reward]and[stop]are the environment, as an Isaac Lab or mjlab task config would say them.method = "ppo"is PPO as in Stable-Baselines3 or RSL-RL, andmethod = "cem"is the cross-entropy method. It says Stable-Baselines3'sn_envs,n_stepsandnet_arch(older files sayenvs,horizonandlayers, which still read). From the command line,env learn/<x>.tomlsteps the same episode for a learner of your own (resetandstep, as JSON lines), andenv --pythonprints the class that makes it agymnasium.Env.policies/*.jsonis a policy a learn file trained, with the episode it plays. Elsewhere this would be an ONNX file, so the same policy is written beside it aspolicies/*.onnx(obsin,actionsout). A linear or net model leaves the same way, asmodel.onnxbeside itsmodel.json.ml/*.tomlis a scikit-learn estimator fitted to a table.model = "linear"isRidgeorLogisticRegression,"trees"isHistGradientBoostingRegressororClassifier(the LightGBM way), and"net"isMLPRegressororMLPClassifier. A model file says scikit-learn's names for its settings (max_iter,max_depth,learning_rate,max_bins,min_samples_leaf,test_size), and LightGBM's (n_estimators,min_child_samples) read too, as do the shorter names older files use (rounds,depth,rate).studies/*.tomlis an Optuna study: the same samplers (grid, random, Sobol, TPE, CMA-ES), pruning by successive halving, and ajournal.jsonlin Optuna's own journal format. With--mlflowthe trials are also written as MLflow'smlrunsfolder, a run a trial.sweep … --setis a parameter sweep, as Hydra's multirun or an Optuna grid or random sampler. A model file sweeps too (sweep ml/fares.toml --set trees.depth=2,4,6), as scikit-learn'sParameterGriddoes, and a study can search its settings. So does a learn file (sweep learn/cartpole.toml --set seed=1..5), which is how RL work tells settings from luck.run.json, sim_runsare experiment tracking as MLflow keeps it (parameters, metrics and artifacts), kept as files in your project. A stale run andbuildare what DVC callsstatusandrepro.schedules/*.tomlis a discrete-event simulation of a job shop, as SimPy, salabim or AnyLogic run one, with the textbook dispatch rules (EDD, SPT).missions/*.tomlare waypoint missions as Nav2 follows them, and a fleet's orders as Open-RMF or VDA 5050 give them.roads/*.tomlis a traffic microsimulation, as SUMO or MATSim run one. The driver model is Treiber's Intelligent Driver Model.roads import city.net.xmlreads a SUMO network (whatnetconvertwrites) into a roads file's tables.voyages/*.tomlis isochrone weather routing, as OpenCPN's weather routing or qtVlm do it, from a boat's polar and a wind forecast.worlds/*.tomlputs several models in one run, as a MuJoCo scene of attached models, a Gazebo SDF world or a USD stage would.
Why not the tools themselves
Most of them are Python or native programs that do not run in a browser tab at a useful speed or size. Where a standard format exists, ducklet reads and writes it: MJCF, URDF, ONNX, CpModelProto, Optuna's journal, MLflow's experiment folder, SUMO networks (in), LeRobot datasets and MCAP recordings. The rest keep plain words in plain files, and this page is the dictionary.
more guides
- How to query a CSV with SQL in your browser
- How to open a Parquet file without installing anything
- Map live earthquakes with SQL in the browser
- Share a data app as a link, an embed or one HTML file
- Build a dashboard from a CSV with DuckDB-Wasm
- How ducklet compares with Datasette Lite, Evidence, Observable and other browser SQL tools