codemirror-lang-janet
implicit
codemirror-lang-janet | implicit | |
---|---|---|
1 | 4 | |
7 | 1,293 | |
- | 1.4% | |
1.1 | 8.6 | |
about 1 year ago | 25 days ago | |
TypeScript | Haskell | |
MIT License | GNU Affero General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
codemirror-lang-janet
-
Show HN: Make 3D art in your browser using Lisp and math
It's CodeMirror! All I had to do was write a Janet grammar for it -- very easy to do. CodeMirror is pretty amazing -- I was able to implement the "edit values with your mouse" by just asking CodeMirror for the syntax node under the cursor, checking if it parsed as a number, and if so replacing it with a different string.
https://codemirror.net/
https://github.com/ianthehenry/codemirror-lang-janet
I went with CodeMirror after reading this post that compares a few different editor components: https://blog.replit.com/codemirror and I've been super happy with it.
implicit
-
Show HN: Make 3D art in your browser using Lisp and math
There's also ImplicitCAD (https://github.com/Haskell-Things/ImplicitCAD) which produces STLs, as it is designed for CAD. It uses implicit functions, which I believe are similar to SDFs (I believe the idea is not to necessarily correspond to the distance function).
- Dhall: A Gateway Drug to Haskell
-
I printed a waistband tightener to hold my skirt up!
ImplicitCAD is essentially OpenSCAD with bevels.
-
OpenScad is great, but slow to render.
You might take a look at ImplicitCAD. It accepts OpenSCAD code (as well as some other more exotic formats) and can render much much faster depending on resolution. There's an online editor/renderer here that would tell you whether it can handle your existing code unmodified.
What are some alternatives?
retrace.gl - Create, ray trace & export programatically defined Signed Distance Function CSG geometries with an API suited for generative art - in your browser! 🎉
brick - A declarative Unix terminal UI library written in Haskell
colorchord - Chromatic Sound to Light Conversion System
openscad - OpenSCAD - The Programmers Solid 3D CAD Modeller
audiolink - Audio reactive prefabs for VRChat
plot-light - A lightweight plotting library, exporting to SVG
commands - Collection of editing commands for the CodeMirror code editor
opengles - A simplified OpenGL ES core wrapper library for Haskell.
glicol - Graph-oriented live coding language and music/audio DSP library written in Rust
gelatin - A nice Haskell graphics API. There's always room for jello.
delaunay - Generates a Delaunay triangulation of a set of points
Gifcurry - 😎 The open-source, Haskell-built video editor for GIF makers.