adam-james's Avatar

adam-james

@adam-james.bsky.social

Clojure programmer slowly and steadily working on CAD tools.

69 Followers  |  87 Following  |  29 Posts  |  Joined: 22.12.2023  |  1.5517

Latest posts by adam-james.bsky.social on Bluesky

Post image Post image Post image Post image

Here's a fun chain of open source tools I used to make a diagram:
#clojure -> #openscad -> #freecad -> #inkscape -> real ink

07.10.2025 04:10 β€” πŸ‘ 11    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Photo of a hand written journal entry of a review of the book 'Artemis' by Andy Weir. A sketch of a welding torch is on the right of the image

Photo of a hand written journal entry of a review of the book 'Artemis' by Andy Weir. A sketch of a welding torch is on the right of the image

A digitally typeset journal entry of a review of the book 'Artemis' by Andy Weir. A digitally traced sketch of a welding torch is on the right of the image

A digitally typeset journal entry of a review of the book 'Artemis' by Andy Weir. A digitally traced sketch of a welding torch is on the right of the image

In an effort to be more mindful about media I consume, I've started writing a media journal for fun. I tried editing one into a digital version and it came out alright :) Not sure what I'll do with such entries, but they're satisfying to make that's for sure #review #journal #sketch #inkscape

22.09.2025 22:11 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Oh I'd be happy to! What's your preferred platform to talk?
Off the cuff, I just want to say thanks, Membrane is really quite fun to use. defui / defeffect clicked in my head nicely :)

16.09.2025 20:32 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Here's a WIP of a more useful note about gears and how straight spur gears typically use an involute tooth profile. Fun to code it up!

15.09.2025 02:11 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

Using #clojure and membrane, I made a little tool that makes interactive notes/calc tools for my design and engineering needs. Should be useful to build up a small library of simple calculators :)

15.09.2025 02:07 β€” πŸ‘ 15    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0
Post image

So, I’m running a shop now and will have access to a nice CNC router!

While I have *real work* to do with it, I can’t help but think of fun projects of my own. And I wonder how I can combine my #clojure knowledge with design and engineering.

24.03.2025 16:37 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
The Software I want to Make
YouTube video by Adam James The Software I want to Make

I made a video for the first time in a bit:
youtu.be/oHBfI8NgpT0

It's always satisfying to make them :)
Mostly talking about the vision I hope to build towards as I keep writing programs, but there's a brief #clojure repl in there too

03.03.2025 20:29 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Ah, good suggestion, thanks :)

06.02.2025 22:35 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image

It's powered by @borkdude.bsky.social's sci (naturally). A sci context with a few svg functions and the app's state (just the point values in a map wrapped in an atom). I want to make a little art tool that I can use on my phone, and this isn't good enough for that yet, but it's a promising start.

04.02.2025 02:44 β€” πŸ‘ 10    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Make your code more tangible
#clojure #clojurescript #svg

04.02.2025 02:39 β€” πŸ‘ 28    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

Lesson so far is that the semantics of build123d, and similarly cadquery, are different enough from Clojure's typical style that I question if it's worth the trouble. I don't like to give up though, so I have a goal project and will see if a useful set of Clojure fns pop out as a small wrapper lib

04.02.2025 02:19 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

Using github.com/clj-python/l..., and #build123d, I have attempted yet again to use #clojure for CAD. Here's a successful 'sweep' operation, exported to STEP (viewed in #freecad @freecad.bsky.social). Also have an SVG export that you can open up and view directly in emacs.

04.02.2025 02:17 β€” πŸ‘ 6    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0
Post image

Patterning things on circles can look quite fun
#clojure #svg
This is roughly based on a Swarovski Crystal Star ornament. My mom has a collection of them and, well, some of them are quite beautiful!

04.01.2025 03:15 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
adam-james notes Β· Justification Costs

Writing as a form of thinking is something I hope to use somewhat regularly in my 'year of crafting'. Won't set a writing goal specifically, nor will I post every day, but writing and posting is nice, so I'll do it sometimes :)
adam-james.weblog.lol/2025/01/just...

02.01.2025 17:32 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

hacked together a #clojure tool to make little art 'cards'.
With improvements, the idea is to be able to use this on my phone and save the SVGs. Hoping to use it when I get bored in lines or whatever, hopefully leading to some more artistic output

02.01.2025 05:09 β€” πŸ‘ 6    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
adam-james notes Β· The Year of Crafting Their theme system journal site succinctly states:

adam-james.weblog.lol/2025/01/the-...

01.01.2025 23:23 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A photo of an abstract floral and vine design print made with a gradient of blue purple and pink crayon wax on cream paper

A photo of an abstract floral and vine design print made with a gradient of blue purple and pink crayon wax on cream paper

Brown and grey pebbles arranged on a light blue background to represent a leaf.

Brown and grey pebbles arranged on a light blue background to represent a leaf.

Over the holidays my family decided to exchange experiences rather than gifts. It was an enjoyable idea and we all loved it. 2 of the experiences involved creativity. A crayon print and a pebble picture.

30.12.2024 00:53 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
LispyTunes Create NES chiptunes with Lisp

A new version of my #Lisp NES #chiptune sequencer is live: codeberg.org/bobbicodes/L...

It now uses a more tracker-like pattern system which allows for longer compositions and much easier arrangement.

22.12.2024 01:30 β€” πŸ‘ 17    πŸ” 4    πŸ’¬ 1    πŸ“Œ 0
Post image

Here's a screenshot of a WIP web viewer using Signed Distance Fields, also set up to 'compile' from the same model.

20.12.2024 02:47 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Here's an example of using #clojure to define a data model for CAD geometry and operations. From that model, I can create a STEP file via #FreeCAD and also view/export a meshed solid via #OpenSCAD

20.12.2024 02:44 β€” πŸ‘ 10    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0

wow, that's exciting and impressive! Thanks for sharing

18.12.2024 02:55 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I do have a Maker lab near me. That's a really good suggestion, thanks! I had wondered if the lab near me offers classes, and considered pitching an 'open source design tools' class, but a presentation might be quicker and an easier sell :)

18.12.2024 02:54 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I'm thinking about how I can angle my career towards 'making bespoke CAD tools for makers'. I... don't know exactly how to proceed, does anyone have some general advice?

Or, perhaps there are companies or labs that do work related to CAD design and automation that I could poke at?

12.12.2024 19:54 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

First success using #clojure to create STEP files. Here I'm using #FreeCAD as a python module and using libpython-clj to script a 3D model. It's promising!

11.12.2024 05:25 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
density plots for the Iris dataset

density plots for the Iris dataset

Tableplot, our #Clojure library for easy layered #grammarofgraphics, has made some progress recently.

scicloj.github.io/tableplot/

Among other things, it now has new, detailed documentation for its #plotly API.

scicloj.github.io/tableplot/ta...

06.12.2024 21:48 β€” πŸ‘ 13    πŸ” 3    πŸ’¬ 1    πŸ“Œ 1

Fair question. I've worked in the agriculture industry (greenhouses) before, so I'm thinking about structural, HVAC, and small/medium manufacturing and CAD/solid modelling.

I'm fascinated by the idea of 'cranking out full 3D models in C++'. Is that OpenCASCADE based stuff? something else?

03.12.2024 21:01 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

What makes someone an excellent programmer?

02.12.2024 00:57 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Are there any examples of programmatic CAD tools used in industry? I'm really curious if there are professional-grade tools along the lines of #openscad

28.11.2024 17:26 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
"Scientific Clojure, a bird's eye view" by Thomas Clark
YouTube video by ClojureTV "Scientific Clojure, a bird's eye view" by Thomas Clark

Thomas Clark's recent talk at #clojureconj is a fantastic overview of recent developments in the #Clojure stack for #scientific computing.

www.youtube.com/watch?v=_D5d...

11.11.2024 21:14 β€” πŸ‘ 17    πŸ” 4    πŸ’¬ 0    πŸ“Œ 2
"Exploratory Design Tools for Makers" by Adam Vermeer
YouTube video by ClojureTV "Exploratory Design Tools for Makers" by Adam Vermeer

I gave a short talk at #Clojure conj this year showing how I use #badspreadsheet.
It's a tool built with a combo of javascript, Clojure, and #HTMX , and just enough naivety to think I can actually build stuff :)
Give it a watch here:
youtu.be/OOtgJm-RL_I?...

06.11.2024 01:19 β€” πŸ‘ 10    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

@adam-james is following 20 prominent accounts