尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗A node-based 3D visuals editor in the browser, in the Sverchok style, made to move with music (and later with Wax).
Live: https://zeffii.github.io/flux/
Wires carry either lists of numbers (orange) or geometry (blue: vertices, edges and faces). Short lists repeat to match long ones, so one value or one per vertex both work. Every input is also a parameter: leave it unlinked and drag its slider.
Nodes: sources (number, time, range, noise), generators (grid, circle, arc, line), solids (box, cylinder, pyramid, torus, uv sphere, icosphere, platonic), surfaces (surface, metaballs, skin), modifiers (transform, array, join, lift, edit), math (math, vector) and view. Each view node chooses its colour and whether faces show flat, smooth or as a glow.
Plain JS; the comment header declares the sockets and the body writes into the outputs, which already exist when it runs.
// petal ring
// in n_petals 8 int 1..64
// in vp_petal 10 int 2..64
// in profile_radius 2.3 0..10
// in amp 1 -4..4
// in origin geo
// out verts geo
const N = n_petals * vp_petal, [ox, oy, oz] = origin.first ?? [0, 0, 0]
verts.loop(range(N).map(i => {
const a = i / N * TAU, r = profile_radius + amp * cos(n_petals * a)
return [ox + cos(a) * r, oy + sin(a) * r, oz]
}))
in name default [int] [lo..hi]: a number slider; a range is hard (values are clamped even when linked). in name list: the whole list. in name geo, or >in name geo to wait until it's linked.out name geo: write with .point(p), .edge(a, b), .line(pts), .loop(pts), .face(...pts) (points or indices), .add(geo), or assign mesh(verts, edges, faces). out name list: an array to push to..points, .edges, .faces, .count, .first, and iterate as points.PI, TAU, range, zip, lerp, clamp, fract, rand(i, seed), noise(x, seed), mesh, time, print, and state (kept between runs until the code changes).Put an edit node on a geo wire and select it: its vertices become pickable in the 3D view. Moved vertices are kept as offsets, so they follow when the shape upstream changes; P pins vertices at an absolute place, cut loose from upstream. amount blends between the upstream and edited shapes.
| 3D view, edit node selected | |
|---|---|
| click / Shift+click | pick vertices |
| B, then drag | box select (Ctrl on release removes) |
| A / Alt+A | all or none / none |
| G R S | move, rotate, scale; then X Y Z to constrain, digits for an exact value, click or Enter to keep, Esc to cancel |
| P | pin / unpin |
| Alt+G | forget the edits on the selection |
| Editor | |
|---|---|
| Tab / right-click | add a node |
| drag a slider | change it (Shift: fine), double-click to type |
| X / Delete | delete selected |
| Ctrl+D | duplicate |
| Ctrl+Z / Ctrl+Shift+Z | undo / redo |
| F | fit the graph |
| Space | play / pause |
| Ctrl+S | save a .flux file |
In the 3D view: drag to orbit, Shift or right-drag to pan, wheel to zoom, double-click to recentre.
npm test # smoke tests for the graph and every node
npm start # http://localhost:8080
No build step: index.html loads src/main.js as an ES module. Each push to master runs the tests and publishes to GitHub Pages.
The earlier Flux (numpy nodes for Blender) is in the git history before this rewrite.