
@jonathanhwchan has joined the channel

Have I missed any tools that should be highlighted for standard-fish competition?

I’m giving a talk on celestial navigation on Friday and I’m curious to find out whether slideslow + metapict will do everthing I need. http://soegaard.github.io/docs/metapict/metapict.html

I guess the biggest question is how I’ll draw some of the 3D visualizations, e.g., great circles and circles of position on a sphere.

@soegaard2

I haven’t tried drawing spheres - but there is support for circles and ellipses.

The relevant functions are defined here: https://github.com/soegaard/metapict/blob/master/metapict/shapes.rkt

where is your utah teapot example?



The teapot was just a quick hack. I think you listed it under “artifacts”.

I think pict3d can be embedded in slideshow?

I’ll find out! Now I’m wondering if I’ll be able to do pict3d with controls (alter height of stars & circles of position).


I put the pict3d version but metapict looks nicer

butI cant find the metapict version :disappointed:


An alternative is to use Asymptote (or Tikz). For Asymptote there is a rather good 3d library: http://asy.marris.fr/ressources/ASY_3D.pdf

@spdegabrielle That is totally wild, thank you! And @soegaard2 too, I’m just trying out yours as well. Thank you both!

FWIW I think metapict will look better in a slideshow


@samdphillips Hope there is a way to fix this problem. Efficiency is really matter.

If it’s contracts then it becomes an exercise in which parts of the system can you relax the constraints.

Or move the contracts out of the hot path.

I’ve only done a quick profile, so I’m not 100% on what the fix is. Just from past experience.

As a point of comparison using the continued-fraction package across the whole space took around 800s (~13 – 14 minutes)

That’s a factor 3000 compared to my version :scream:

@soegaard2 whats”flomat.rkt”? utah-teapot.rkt
#lang racket/base
(require racket/match racket/list racket/port racket/string "flomat.rkt")


@frank has joined the channel

Can someone offer a rough approach for how I would test a potential PR specifically for Scribble? Would I need to somehow uninstall the scribble package and then do raco pkg install --link
from inside a local clone of the scribble repo?

Do raco pkg update --clone scribble
inside a directory you want to host the Scribble clone

Then, you will get a copy of Scribble as a git repository, that Racket also uses it.

Note that it takes time to set things up

raco pkg update: package is not currently installed from a repository
package: scribble
current installation: (catalog scribble)

Ah, figured it out, raco pkg update --lookup --catalog <https://pkgs.racket-lang.org\|https://pkgs.racket-lang.org> --clone scribble

Thanks for putting me on course!

@samdphillips Get ride of continued-fraction package and ~a string formatting brings 16x performance boost. But still way slower than @notjack’s version. Doing too much unnecessary computation. :laughing: