• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

atom-marching

live coding ray marchers from atom
  • #csg
  • #glsl
  • #live coding
charlieroberts
1.0.1 281
0
Install

Launching Atom...

If nothing happens, download Atom and try again.

  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Marching.js in Atom

Marching.js is a JavaScript library for compiling raymarchers that run on the GPU and experimenting with volumetric rendering / constructive solid geometry. This plugin enables it to run in Atom; no browser required.

Running Atom-Marching

  1. Install the atom-marching package from Atom
  2. Restart atom or hit ctrl+alt+command+l to reload all packages.
  3. To start marching.js, select packages > atom-marching > toggle or use the keyboard shortcut ctrl+alt+m
  4. Create a file with a .js extension in Atom
  5. Type march( Sphere() ).render() in your new file to test
  6. Select your code, then use ctrl+enter to run it
  7. Use alt+enter to run a block of code, delimited by blank lines
  8. ctrl+. will clear the current scene
  9. For examples, tutorials, and documentation, see the online marching.js playground (Chrome / Firefox).

Error: webgl not supported

Try running atom from the command line as follows: atom --ignore-gpu-blacklist

Code for this plugin adapted from:

  • https://atom.io/packages/atom-hydra

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by