Draft

Proximal Policy Optimization with Clojure and Pytorch

A Clojure port of Jinghao’s PPO implementation using Pytorch and Quil
Author
Published

April 18, 2026

(require-python '[torch :as torch])
:ok

Recently I started to look into the problem of reentry trajectory planning in the context of developing the sfsim space flight simulator.

pendulum

pendulum
source: src/ppo/main.clj