Code Monkey home page Code Monkey logo

Comments (27)

kaveh808 avatar kaveh808 commented on August 24, 2024

The current main branch.

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

kaveh808 avatar kaveh808 commented on August 24, 2024

The demos work on my machine, and I pushed to main on Friday.

We're using point-origin.lisp so it's p:+ now. But I just checked and p+ also works.

To run the demos:
(in-package :kons-9)
(run)
Then eval the demos.

I'll run some tests in the morning.

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

foretspaisibles avatar foretspaisibles commented on August 24, 2024

That's a good candidate for the next thing to add to the test suite. :-) I can pick up but maybe you are interested in that topic @awolven ?

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

lukego avatar lukego commented on August 24, 2024

@awolven The snippet you posted works fine for me on Linux with commit 308b121 i.e. current tip of the main branch. I wonder what is different on your machine? (Is it a platform-related issue?)

Result:

Screenshot from 2022-11-07 14-37-00

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

kaveh808 avatar kaveh808 commented on August 24, 2024

Tagging @JMC-design who did the point-origin port, in case he has any ideas of what may be going on.

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

JMC-design avatar JMC-design commented on August 24, 2024

I'm on a new machine. I just cloned the repo and ran it. Everything seems to be fine. origin is in depends, the nickname is there and the demos work.
This seems to be an old file @awolven is looking at.

from kons-9.

foretspaisibles avatar foretspaisibles commented on August 24, 2024

Yes, I'm interested in expanding the test suite, if that is what you're asking.

Yes, there is and introductory discussion in #112, you can skim towards the end to find the interesting bits. I'm also happy to answer questions and provide any help. We could also pair some time over zoom if you're interested, I believe it's a great way to quickly get started!

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

kaveh808 avatar kaveh808 commented on August 24, 2024

p+ is defined in point-origin:

(defmacro def-point-func-1 (op)
  `(defun ,(concat-syms 'p op) (p val)
     (ctypecase val
       (p:vec (,(find-symbol (symbol-name op) 'p) p val))
       (number (p! (,op (p:x p) val)
                   (,op (p:y p) val)
                   (,op (p:z p) val))))))

(def-point-func-1 +)
(def-point-func-1 -)
(def-point-func-1 *)
(def-point-func-1 /)

from kons-9.

kaveh808 avatar kaveh808 commented on August 24, 2024

@mikelevins Are you having any trouble running on Windows?

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

kaveh808 avatar kaveh808 commented on August 24, 2024

Thanks for catching this Andrew.

I can make this change in my next merge with main, unless you prefer making an issue and a pull request?

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

kaveh808 avatar kaveh808 commented on August 24, 2024

Go ahead and make issues for the double-float issue and Z-up as an option.

Did this macro fix your problem on Windows?

from kons-9.

awolven avatar awolven commented on August 24, 2024

from kons-9.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.