News for hackers. Stuff that matters.
Re:APL and Array Programming by z3phyr on Friday July 08, 2022 @09:23PM (#32030324)
APL seems like a great language for computer graphics! Has anyone tried their hands at the same?
Re:APL and Array Programming by jodrellblank on Friday July 08, 2022 @10:09PM (#32030656)
Someone made a 3D boating simulation using Finnish island geodata; called StormWinds and using Dyalog APL connecting to DirectX - https://www.dyalog.com/case-studies/simulation.htm

The author also has this video: https://dyalog.tv/APLSeeds21/?v=iC9floP7POU "Tomas takes you through the API of a 3D-engine and shows you how to connect to it from APL, enabling you to create a simple scene with graphics objects moving in real-time. He also explores some of the more advanced rendering techniques." (I haven't watched it)

Re:APL and Array Programming by queuebert on Friday July 08, 2022 @10:42PM (#32030935)
This well-known J dude has done some: https://www.youtube.com/watch?v=CzK2SazvCxM

And J is almost isomorphic to APL.

Re:APL and Array Programming by razetime on Saturday July 09, 2022 @03:30AM (#32032756)
J has much easier access to graphics with bindings to a window driver and OpenGL .

APL also has support for GUI apps (Windows only) using .NET, but graphics takes some additional effort: https://www.youtube.com/watch?v=iC9floP7POU

Re:APL and Array Programming by memorable on Friday July 08, 2022 @10:08PM (#32030646)
I don't know if APL supports graphics, but ngn/k, an implementation of K, a language in the APL family, has JS support in its official online playground [0], which can be used for displaying graphics.

[0]: https://ngn.codeberg.page/k/#

Re:APL and Array Programming by phantomics on Saturday July 09, 2022 @08:37AM (#32034478)
I'm using APL to build graphics for a hardware startup. You can see an example of the device, called Bloxl, and its graphics in this video:

https://youtube.com/watch?v=AUEIgfj9koc

Related HN story: https://news.ycombinator.com/item?id=24434717

More pics and videos at: https://bloxl.co

My April APL compiler has a terminal graphics application as one of its demos, which you can see in this folder: https://github.com/phantomics/april/tree/master/demos/ncurse...