Rendering surfaces
clojurecivitas.github.io·14w

surfaces


Scope

I want to present an idea of rendering 3D surfaces derived from vector fields. It’s one of the algorithms I used in my math art folds2d project.

What do we need

We will rely on methods implemented in clojure2d and fastmath libraries.

Let’s require the following namespaces:

  • clojure2d.core, c2d - 2D drawing
  • clojure2d.color, c - colors, palettes and gradients
  • clojure2d.pixels, p - pixel manipulation and rendering
  • clojure2d.extra.utils, utls - gradient viewer
  • fastmath.core, m - primitive math
  • fastmath.vectors, v - primitive 2D, 3D and 4D vectors
  • fastmath.random, r - randomness and noise
  • `fastmath.fie…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help