Generate Desmos script (JSON) with Julia language.
using Desmos, JSON
state = @desmos begin
@expression cos(x) color=RGB(1,0,0)
@expression sin(x) color=RGB(0,0,1)
tan(x)
end
clipboard(JSON.json(state, 4))
Peek.2023-03-27.13-08.mp4
See documentation for more information.
Note that this package requires Desmos Text I/O extension.