"Diagrammar: Simply Make Interactive Diagrams" by Pontus Granström (Strange Loop 2022)

  Рет қаралды 21,225

Strange Loop Conference

Strange Loop Conference

Жыл бұрын

Diagrams are crucial for communication and learning in STEM fields. Creating them involves repeated patterns, consistent components, exact positioning, and, ideally, user interaction. A programming language has right the tools to do all of the above, but much of its power is only available to career programmers, gated behind the complexity of things like SVG, CSS, JS, and handling user input.
Diagrammar is a tool for creating interactive diagrams, that aims to be much simpler, while retaining the power of a full programming language (Elm). It was designed for making online STEM courses at Brilliant, and we make full use of this power: parametric reusable diagrams, authors sharing toolkits and styles, precise positioning -- and any diagram can be interactive!
In this talk, I will give you a quick tour of Diagrammar and its primitives, share ideas for designing simple, learnable tools, and tell you what we've learned from authors creating thousands of diagrams across dozens of courses.
Pontus Granström
Namna, Brilliant
@pnutus
I direct and design interactive courses and tools for STEM at Brilliant. I previously studied music composition and physics, taught university math, and worked on tools and visual effects at Ubisoft. I love learning and teaching, I still dabble in music, and I have a deep interest in thoughtful and unique game design.
------- Sponsored by: -------
Stream is the # 1 Chat API for custom messaging apps. Activate your free 30-day trial to explore Stream Chat. gstrm.io/tsl

Пікірлер: 29
@dwylhq874
@dwylhq874 Жыл бұрын
Really wish this was Open Source as it would be game-changing to allow everyone to both learn STEM and Elm! 🙏
@dwylhq874
@dwylhq874 Жыл бұрын
This is such a great showcase for `Elm`! Couldn't imagine building this _reliably_ in any other programming language. Functional + Strongly Typed with _excellent_ compiler error guidance. Truly Brilliant! 😍
@SaMusz73
@SaMusz73 Жыл бұрын
Very nice to discover Elm as the building block for this interesting tool.
@AnythingGodamnit
@AnythingGodamnit 5 ай бұрын
Fantastic looking tool, and wonderfully presented! I can only hope this is open-sourced 🤞 Also, am I the only one who goes into conniptions seeing code formatted like your examples 😱😂
@carl8703
@carl8703 Жыл бұрын
The list of basic building blocks seems very similar to those used for openscad, which tries to do similar visualizations, but in 3d. I wonder if the developer has had inspiration from their approach, or if both projects could benefit from studying the differences that exist between their interfaces?
@RobertLugg
@RobertLugg Жыл бұрын
It's not clear what the development interface is for this tool. OpenSCAD has a great immediate rendering. I also like their "Modifier Characters" which simplify debugging. I had assumed that booleans operations were a requirement, but they didn't showcase any for Diagrammer. It would be nice to implement in both languages.
@dinoscheidt
@dinoscheidt Жыл бұрын
7:44 this whole thing looks like SideFX Houdini Scripting, CSS Flexbox / Grid and ReactJS JSX syntax had a child. Would really like to know what the exploration process was to get from imperativ click UI for diagrams to deciding to use Elm etc. Very impressive result!
@Xoque551
@Xoque551 Жыл бұрын
Very impressive!! I can't wait to try this out!
@ElioStalteri
@ElioStalteri Жыл бұрын
is Diagrammar open-source?
@mskiptr
@mskiptr Жыл бұрын
Seems like it's only internal for now: Nitter: pnutus/status/1575851068889583618
@swagatochatterjee7104
@swagatochatterjee7104 Жыл бұрын
It seems no. It would be very cool if it were.
@Favmir
@Favmir Жыл бұрын
I think they only do business with corporations.
@sofia.eris.bauhaus
@sofia.eris.bauhaus Жыл бұрын
it doesn't look like it is. what a waste 😕.
@trimforspeed
@trimforspeed Жыл бұрын
This look very nice. Is this tool available outside of Brilliant?
@gilmoretj
@gilmoretj Жыл бұрын
Pontus, Thank you for introducing us to Diagrammar. It is available as FOSS or can it be downloaded for personal use? I am aware Brilliant have a GitHub account but there is no repo for Diagrammar.
@PerryWagle
@PerryWagle Жыл бұрын
Is this worth watching if you don't then get to go off and run it?
@swagatochatterjee7104
@swagatochatterjee7104 Жыл бұрын
I think this gives us an insight into how the tool works. Nothing more. I checked Haskell diagrams too. It is a tad bit more complicated than this. Lastly, they showed us only the primitives. They certainly have a way more complicated arsenal of libraries which helps them create all sorts of diagrams.
@KingJellyfishII
@KingJellyfishII Жыл бұрын
I thought the same. It's such a shame that a useful tool is not released to the public in one way or another.
@GordieGii
@GordieGii Жыл бұрын
Is it worth watching TED if you don't then go off to Africa and dig wells?
@seismicdna
@seismicdna Жыл бұрын
now this is epic
@frechjo
@frechjo Жыл бұрын
it was brilliant.
@doBobro
@doBobro Жыл бұрын
Brilliant talk!
@ronnodas
@ronnodas Жыл бұрын
The comparison shouldn't be with svg or p5, but with something like pgf/tikz. Does anyone write SVG by hand?
@DemianFerreiro
@DemianFerreiro Жыл бұрын
This is a Brilliant library
@imflash217
@imflash217 Жыл бұрын
this is just awesome......the other open-source tool with very similar ability i knew of was by 3Blue1Brown.......superb talk.
@sahildawka5826
@sahildawka5826 Жыл бұрын
I wonder what it would be like with descriptive image generators like Dall-e for more freedom of primitives
@mrdmajor
@mrdmajor Жыл бұрын
Bret Victor talk from 2013 - kzbin.info/www/bejne/m5eVm6Ogiap1a7c 🤔🤯
@gomezmario.f
@gomezmario.f 2 ай бұрын
"Aesthetically challenged" has to be my main takeaway from this talk.
@Snorehog
@Snorehog Жыл бұрын
"Python Performance Matters" by Emery Berger (Strange Loop 2022)
38:51
Strange Loop Conference
Рет қаралды 77 М.
"Building Observability for 99% Developers" by Jean Yang (Strange Loop 2022)
40:28
Strange Loop Conference
Рет қаралды 20 М.
Тяжелые будни жены
00:46
К-Media
Рет қаралды 5 МЛН
[柴犬ASMR]曼玉Manyu&小白Bai 毛发护理Spa asmr
01:00
是曼玉不是鳗鱼
Рет қаралды 41 МЛН
Cat story: from hate to love! 😻 #cat #cute #kitten
00:40
Stocat
Рет қаралды 6 МЛН
Когда на улице Маябрь 😈 #марьяна #шортс
00:17
"Outperforming Imperative with Pure Functional Languages" by Richard Feldman
34:55
Strange Loop Conference
Рет қаралды 86 М.
"From Geometry to Algebra and Back Again: 4000 Years of Papers" by Jack Rusher
31:35
Intro to the Zig Programming Language • Andrew Kelley • GOTO 2022
50:14
"The Economics of Programming Languages" by Evan Czaplicki (Strange Loop 2023)
43:58
Strange Loop Conference
Рет қаралды 118 М.
threading vs multiprocessing in python
22:31
Dave's Space
Рет қаралды 555 М.
Coding Challenge 1: Starfield Simulation
13:54
The Coding Train
Рет қаралды 1,3 МЛН
"The Mess We're In" by Joe Armstrong
45:50
Strange Loop Conference
Рет қаралды 376 М.
Neural Networks Pt. 2: Backpropagation Main Ideas
17:34
StatQuest with Josh Starmer
Рет қаралды 475 М.
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 1,8 МЛН
Дени против умной колонки😁
0:40
Deni & Mani
Рет қаралды 7 МЛН
⌨️ Сколько всего у меня клавиатур? #обзор
0:41
Гранатка — про VR и девайсы
Рет қаралды 637 М.